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

Modifications to profile list #1176

Merged
merged 2 commits into from Dec 18, 2011
Merged

Modifications to profile list #1176

merged 2 commits into from Dec 18, 2011

Conversation

minrk
Copy link
Member

@minrk minrk commented Dec 18, 2011

Includes bundled profiles in ipython profile list output,
and segments output into: bundled, ipdir, cwd.

Per @fperez suggestion

Sample output:

minrk@Mercury[14:10]~/dev/ip/mine (profilelist) $ ipython profile list

Available profiles in IPython:
    ipython --profile=cluster
    ipython --profile=math
    ipython --profile=pysh
    ipython --profile=python3
    ipython --profile=sympy

    The first request for a bundled profile will copy it
    into your IPython directory (/Users/minrk/.ipython),
    where you can customize it to your needs.

Available profiles in /Users/minrk/.ipython:
    ipython --profile=0.11
    ipython --profile=cluster
    ipython --profile=default
    ipython --profile=foo
    ipython --profile=food
    ipython --profile=fresh
    ipython --profile=føø
    ipython --profile=go
    ipython --profile=iptest
    ipython --profile=math
    ipython --profile=mpi
    ipython --profile=neuro
    ipython --profile=password
    ipython --profile=pylab
    ipython --profile=pysh
    ipython --profile=python3
    ipython --profile=sge
    ipython --profile=sh
    ipython --profile=ssh
    ipython --profile=sympy
    ipython --profile=temp

Available profiles in current directory (/Users/minrk/dev/ip/mine):
    ipython --profile=carrot

Includes bundled profiles in `ipython profile list` output,
and segments output into: bundled, IPYTHONDIR, cwd.
@fperez
Copy link
Member

fperez commented Dec 18, 2011

While I see the copy/paste value of printing them this way, I think it makes for a busy layout. How about we just print the profile names alone, and at the bottom print a single explanation line that says something like


  ipython --profile <profile-name>

I think it would make for a more easy to read output.

@minrk
Copy link
Member Author

minrk commented Dec 18, 2011

I like the copy/paste format a tiny bit better, but I'll defer to you. Pushed with recommended change.

@fperez
Copy link
Member

fperez commented Dec 18, 2011

I love it, thanks a lot. Will complete running the test suite locally, and if all passes will merge it right away.

fperez added a commit that referenced this pull request Dec 18, 2011
Modifications to `ipython profile list`. Now it shows all profiles available to the user, segmented by origin and with usage instructions.
@fperez fperez merged commit c5e6514 into ipython:master Dec 18, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Modifications to `ipython profile list`. Now it shows all profiles available to the user, segmented by origin and with usage instructions.
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.

None yet

2 participants