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

v1 CLI #74

Closed
wants to merge 4 commits into from
Closed

v1 CLI #74

wants to merge 4 commits into from

Conversation

jeffchuber
Copy link
Contributor

@jeffchuber jeffchuber commented Nov 16, 2022

Initial version of our CLI, see below

@jeffchuber
Copy link
Contributor Author

jeffchuber commented Nov 20, 2022

Chroma CLI Grammar

object level (implemented)

list - list of model_spaces
inspect [name] - summary of a model space
peak [name] - peak records inside model_space (maybe this should be called head)
delete [name] - delete a model_space with confirmation
reset - reset entire DB with confirmation

sys level (not implemented)

ps / top - lists running tasks
backup - create back up
restore - restore from
up - start up chroma
down - shut down chroma
ui - launch ui
logs. - what's happening inside chroma


help

Screen Shot 2022-11-19 at 10 23 31 PM

list

Screen Shot 2022-11-19 at 10 23 24 PM

inspect

Screen Shot 2022-11-19 at 10 23 45 PM

peak

Screen Shot 2022-11-19 at 10 23 55 PM

delete

Screen Shot 2022-11-19 at 10 24 11 PM


Todo

  • what happens if it cant connect
  • no data yet modes

After the merge


Could also consider

probably not?

  • add new data
  • run arbitrary SQL
  • spin up and down docker
  • inspect jobs

@jeffchuber jeffchuber changed the title very minimal proof of concept CLI v1 CLI Nov 21, 2022
@jeffchuber jeffchuber marked this pull request as ready for review November 21, 2022 23:49
@jeffchuber
Copy link
Contributor Author

This is useful, but needs to be merged well into the new refactor.

@jeffchuber
Copy link
Contributor Author

For hygiene - I am going to close this and move it to an issue. Branch should not be deleted.

@jeffchuber jeffchuber closed this Jan 5, 2023
@jeffchuber jeffchuber mentioned this pull request Jan 5, 2023
Closed
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