Skip to content

Adds new command to parse a single reference - #9

Open
mauromsl wants to merge 1 commit into
inukshuk:masterfrom
mauromsl:parse_reference_command
Open

Adds new command to parse a single reference#9
mauromsl wants to merge 1 commit into
inukshuk:masterfrom
mauromsl:parse_reference_command

Conversation

@mauromsl

Copy link
Copy Markdown

The reference is passed as the sole input argument and the result is printed to stdout.

I've also considered altering the anystyle parse command with a flag declaring to parse the input argument from STDIN instead walking the given path, but this works fine for my purposes. Happy to change it based on your thoughts.

The reference is passed as the sole input argument and the result
is returned to stdout.
@inukshuk

Copy link
Copy Markdown
Owner

This looks really useful, thanks!

I think I'd prefer using a flag for the parse command or maybe even a global flag, if we also add an option to read from stdin.

Using this flag would have to imply --stdout I guess, unless and output argument is given.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants