-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Goal
To make it easier to list and load projects.
Motivation
- Currently there are no way of listing projects in the database when using the CLI.
- When using
avalon --load, the name is taken from the current working directory, so there is no way of loading a differently named project. - When using
avalon --loadit would be nice to display available projects to load.
Implementation
- Add a command
avalon --projects. Or some other flag? - Make
avalon --loadaccept a project name input, so loading a project will beavalon --load myProject. This input could be optional to allow existing behaviour of loading the name of the current working directory.
Lastly could also have the command be something likeavalon --load --project_name myProject. Although personally I feel its unnecessarily long. - The current message when not finding a project is:
Loading .inventory.toml and .config.toml..
'mySecondProject' not found, try --init to start a new project.Suggestion:
Loading .inventory.toml and .config.toml..
'mySecondProject' not found, try --init to start a new project, or load a project from the database.
Projects:
- myProject
- mySecondProjectMetadata
Metadata
Assignees
Labels
No labels