Skip to content

Implement configurable tag delimiter; default @ - #155

Open
bndnsmth wants to merge 2 commits into
klaudiosinani:masterfrom
bndnsmth:tag-delimiter
Open

Implement configurable tag delimiter; default @#155
bndnsmth wants to merge 2 commits into
klaudiosinani:masterfrom
bndnsmth:tag-delimiter

Conversation

@bndnsmth

@bndnsmth bndnsmth commented Sep 15, 2019

Copy link
Copy Markdown

This implements an option to configure the character(s) used as the tag delimiter with a default of @ for backwards compatibility. In PowerShell, @ is used as the array operator. As a result, any input pre-fixed with @ is not passed to the program unless escaped in a string. This will allow users to specify their own prefix.

Demo of issue:

$ cat .\argv.js
console.log(process.argv)

$ node .\argv.js -t @board Sample task
[ 'C:\\node.exe',
  'C:\\argv.js',
  '-t',
  'Sample',
  'task' ]

Related: #148, #41

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.

1 participant