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

Improve 'abaco init' to report a list of project types by tenant #27

Open
mwvaughn opened this issue Aug 8, 2019 · 0 comments
Open
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mwvaughn
Copy link

mwvaughn commented Aug 8, 2019

End users do not know what project types are available for a given tenant. Given that it is easy to contribute new ones to the CLI via PR, it is expected that diversification in type, configuration, and naming will happen quickly between tenants.

It should be possible to iterate over the tenant-specific template directories and return at least the template directory name if not some little bit of metadata included in each directory.

For instance, for the sd2e tenant, the output from abaco init -h might look like so, where the * next to reactor-python indicates it is the default:

Usage: abaco init [OPTION]... [IMAGE]

Initializes an Abaco actor project in a new directory.

The default value for -O can be changed by setting the
DOCKER_HUB_ORG environment variable (e.g. DOCKER_HUB_ORG=tacc).

Options:
  -h    show help message
  -n    project name (e.g. my-actor-name)
  -d    project description
  -l    project type (bionic-python | disco-python | reactor-python* | shell)
  -O    registry username/organization (sd2eadm)
  -B    base path (current directory)
@mwvaughn mwvaughn added the enhancement New feature or request label Aug 8, 2019
@mwvaughn mwvaughn added this to the v1.4.0 milestone Aug 8, 2019
@mwvaughn mwvaughn self-assigned this Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant