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

`jekyll` command should list sub-commands or be aliased to `jekyll serve` #1041

Closed
postmodern opened this Issue May 7, 2013 · 5 comments

Comments

Projects
None yet
4 participants
@postmodern
Contributor

postmodern commented May 7, 2013

Running jekyll without a sub-command should do something useful.

@caspervonb

This comment has been minimized.

Show comment
Hide comment
@caspervonb

caspervonb May 7, 2013

Disagree, should just list the the subcommands available, thats how most CLI interfaces are laid out.

caspervonb commented May 7, 2013

Disagree, should just list the the subcommands available, thats how most CLI interfaces are laid out.

@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr May 7, 2013

Member

It does do something useful! It prints the help menu :)

Member

parkr commented May 7, 2013

It does do something useful! It prints the help menu :)

@parkr parkr closed this May 7, 2013

@postmodern

This comment has been minimized.

Show comment
Hide comment
@postmodern

postmodern May 7, 2013

Contributor

@parkr you are mistaken:

$ gem install jekyll
Successfully installed jekyll-1.0.0
1 gem installed
Installing ri documentation for jekyll-1.0.0...
Building YARD (yri) index for jekyll-1.0.0...
$ jekyll 
       Deprecation: Jekyll now uses subcommands instead of just switches. Run `jekyll help' to find out more.
/home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:365:in `block in require_program': program version required (Commander::Runner::CommandError)
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:364:in `each'
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:364:in `require_program'
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:52:in `run!'
from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/delegates.rb:11:in `run!'
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/import.rb:10:in `block in <top (required)>'
Contributor

postmodern commented May 7, 2013

@parkr you are mistaken:

$ gem install jekyll
Successfully installed jekyll-1.0.0
1 gem installed
Installing ri documentation for jekyll-1.0.0...
Building YARD (yri) index for jekyll-1.0.0...
$ jekyll 
       Deprecation: Jekyll now uses subcommands instead of just switches. Run `jekyll help' to find out more.
/home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:365:in `block in require_program': program version required (Commander::Runner::CommandError)
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:364:in `each'
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:364:in `require_program'
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:52:in `run!'
from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/delegates.rb:11:in `run!'
    from /home/hal/.gem/ruby/1.9.1/gems/commander-4.1.3/lib/commander/import.rb:10:in `block in <top (required)>'
@caspervonb

This comment has been minimized.

Show comment
Hide comment
@caspervonb

caspervonb May 7, 2013

@parkr, @postmodern actually there has been a regression since rc1

bundle exec jekyll -v
jekyll 1.0.0.rc1

bundle exec jekyll

NAME:

jekyll

DESCRIPTION:

Jekyll is a blog-aware, static site generator in Ruby

COMMANDS:

build                Build your site                
help                 Display global or [command] help documentation.        
import               Import your old blog to Jekyll         
new                  Creates a new Jekyll site scaffold in PATH             
serve                Serve your site locally                

ALIASES:

server               serve   

GLOBAL OPTIONS:

-s, --source [DIR] 

caspervonb commented May 7, 2013

@parkr, @postmodern actually there has been a regression since rc1

bundle exec jekyll -v
jekyll 1.0.0.rc1

bundle exec jekyll

NAME:

jekyll

DESCRIPTION:

Jekyll is a blog-aware, static site generator in Ruby

COMMANDS:

build                Build your site                
help                 Display global or [command] help documentation.        
import               Import your old blog to Jekyll         
new                  Creates a new Jekyll site scaffold in PATH             
serve                Serve your site locally                

ALIASES:

server               serve   

GLOBAL OPTIONS:

-s, --source [DIR] 
@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr May 7, 2013

Member

Fixed.

Member

parkr commented May 7, 2013

Fixed.

parkr added a commit that referenced this issue May 7, 2013

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.