Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new mental-model in the CLI #33

Open
imaman opened this issue Jun 20, 2019 · 0 comments
Open

new mental-model in the CLI #33

imaman opened this issue Jun 20, 2019 · 0 comments

Comments

@imaman
Copy link
Owner

imaman commented Jun 20, 2019

bigband ls p1   # Show all instruments in the p1 package

bigband ls p1-p2  # Show all instruments in the p1-p2 package

bigband ls p1-p2-p3-myLambda  # shows resources available for bigband cat. Sepcfically: log file, info

bigband cat p1-p2-p3-myLambda/log
bigband cat p1-p2-p3-myLambda/info

bigband exec p1-p2-p3-myLambda '{"a": 1, "b": 2}'

Alternatively, perhaps the command "ls", "cat", "exec" is an extension to the last component in the path (with the default being "ls"), so that one can do:

bigband p1-p2-p3
bigband p1-p2-p3-myLambda 
bigband p1-p2-p3-myLambda.exec '{"a": 1, "b": 2}'
bigband p1-p2-p3-myLambda.log
bigband p1-p2-p3-myLambda.info

this results in even shorter command lines but it may be confusing to newcomers.

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

No branches or pull requests

1 participant