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

Customizable formats for "backend.ai ps" CLI command #87

Closed
gofeel opened this issue Feb 3, 2019 · 4 comments
Closed

Customizable formats for "backend.ai ps" CLI command #87

gofeel opened this issue Feb 3, 2019 · 4 comments
Labels
type:feature Add new features
Milestone

Comments

@gofeel
Copy link
Contributor

gofeel commented Feb 3, 2019

Add some formatting options for ps - It's too long.

suggestions
--full
--format

etc

@achimnol
Copy link
Member

We now have --detail as a separate option to the ps command.

@achimnol
Copy link
Member

achimnol commented Dec 30, 2019

Let's generalize the formatting using --format option, allowing specification of columns.
e.g.,

  • ps -f id,created_at,status,status_info -> uses tabulate's default tablefmt.
  • ps -f id,created_at,status,status_info --plain -> uses tabulate's "plain" tablefmt without header and line drawings.

@achimnol
Copy link
Member

achimnol commented Dec 30, 2019

@miraliahmadli Places to explore:

First, fire up a locally running Backend.AI cluster using the install-dev script.
And then run several sessions (just several times of backend.ai run --rm -c "print('hello world')" lablup/python:3.6-ubuntu18.04 would be sufficient) so that you have some list of history to tinker with the client.

@achimnol achimnol transferred this issue from lablup/backend.ai-client-py Dec 30, 2019
@achimnol
Copy link
Member

achimnol commented Dec 30, 2019

Also I've transferred this issue to lablup/backend.ai repository, since we are now gathering all Backend.AI-related issues in one place. (Existing links will be automatically redirected.)

@achimnol achimnol added the type:feature Add new features label Dec 30, 2019
@achimnol achimnol added this to the 19.12 milestone Dec 30, 2019
@achimnol achimnol changed the title ps formatting Customizable formats for backend.ai ps" Dec 30, 2019
@achimnol achimnol changed the title Customizable formats for backend.ai ps" Customizable formats for "backend.ai ps" CLI command Dec 30, 2019
@achimnol achimnol closed this as completed Jan 8, 2020
@achimnol achimnol modified the milestones: 19.12, 20.03 Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Add new features
Projects
None yet
Development

No branches or pull requests

3 participants