opendevise / downdoc

Rapidly converts AsciiDoc to Markdown.
MIT License
53 stars 2 forks source link

Allow runtime AsciiDoc document attributes to be specified using CLI (downdoc) #3

Closed mojavelinux closed 2 years ago

mojavelinux commented 2 years ago

Allow runtime AsciiDoc document attributes (herein: attributes) to be passed to the CLI using the --attribute option (short form: -a). This option can be specified multiple times.

For example:

npx -a hide-contributing --attribute url-base=https://docs.example.org/ README.adoc

For now, it should only possible to set attributes, not unset them. Valid forms are name and name=value.