bcgov / smk-cli

The Command Line Interface enables users to rapidly create and edit SMK map configuration, including data consumption via OGC and Esri ReST data access services and local data files.

Home Page:https://bcgov.github.io/smk-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

smk-cli on screen instructions issue

NicoledeGreef opened this issue · comments

New user was trying to use the smk-cli and was tripped up by reference to 'index' as a command.

image

image

The word "index" is not hard-coded in the output seen when an smk-cli command is first run; instead, it's a variable that is based on the command that was entered. For example, when the command "smk edit" is run, code in index.js parses the command arguments and this logic should result in "smk" being used in the output instead of "index" as seen in the screen captures.

If it's at all possible, it would be great to know what command was entered by the first-time user when this behaviour was observed. I'd also be curious to know whether the user sees this behaviour all the time. @NicoledeGreef , please let me know what you think.

@TerryLanktree initially reported this. He didn't know to run smk create so he just typed in smk and hit return. If I do that I see the same mention of 'index':
image

It's not a bug that makes the product non-functional. He just got confused by 'index' next to the listing of valid arguments.

This issue has been addressed in pull request #79, and changes have been merged to master.