Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

"ahn start" != "ahn start ."

#36

"ahn start" runs without initial complaint but dies immediately with errors.

"ahn start" is intuitively the same as "ahn start ." If that is not the case then "ahn start" should die with a usage message.

reproduce:

ahn start test_proj cd test_proj ahn start # fails with errors shown below ahn start . # runs fine

done with git pull from master 11-22 08:30 (still learning git, don't know how to get git version numbers yet.

Detailed run showing failure:

[wwalker@emc2 ~]$ ahn create test

  create
  create  components/simon_game/lib
  create  components/simon_game/test
  create  config
  create  .ahnrc
  create  components/simon_game/configuration.rb
  create  components/simon_game/lib/simon_game.rb
  create  components/simon_game/test/test_helper.rb
  create  components/simon_game/test/test_simon_game.rb
  create  config/startup.rb
  create  dialplan.rb
  create  events.rb
  create  README
  create  Rakefile

[wwalker@emc2 ~]$ cd test [wwalker@emc2 test]$ ahn start /opt/depot/adhearsion/lib/adhearsion/cli.rb:45:in parse_arguments': Unknown command: Invalid format for the start CLI command! (Adhearsion::CLI::AhnCommand::CommandHandler::UnknownCommand) Usage: ahn create /path/to/directory ahn start [daemon] [directory] ahn version|-v|--v|-version|--version ahn help|-h|--h|--help|-help

Under development: ahn create:projectname /path/to/directory

    from /opt/depot/adhearsion/lib/adhearsion/cli.rb:18:in `execute!'
    from /opt/depot/adhearsion/bin/ahn:28

[wwalker@emc2 test]$ ahn start . INFO ahn: Adhearsion initialized! ^C INFO ahn: Shutting down gracefully at Sat Nov 22 08:30:37 -0600 2008. INFO events: Performing a graceful stop of events subsystem [wwalker@emc2 test]$

Reported by ronin-9952 (at lighthouseapp) · November 22nd, 2008 @ 09:34 AM

State: resolved
Milestone: none
Assigned to: Jay Phillips Jay Phillips

Activity

  1. Jay Phillips
    Jay Phillips
    • State changed from new to open

    '"ahn start" is intuitively the same as "ahn start ." If that is not the case then "ahn start" should die with a usage message.'

    There's two ways to start an app in the current dir: "ahn start ." and "ahn -"

    I agree, the error message for "ahn start" is pretty confusing. I'll fix it. :)

    November 22nd, 2008 @ 11:33 AM

  2. Jay Phillips
    Jay Phillips
    • State changed from open to resolved

    Okay, master branch is much more intuitive now. :)

    November 22nd, 2008 @ 12:58 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.