#36 ✓resolved
ronin-9952 (at lighthouseapp)

"ahn start" != "ahn start ."

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

"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.


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  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]$

Comments and changes to this ticket

  • Jay Phillips

    Jay Phillips November 22nd, 2008 @ 11:33 AM

    • 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. :)

  • Jay Phillips

    Jay Phillips November 22nd, 2008 @ 12:58 PM

    • State changed from “open” to “resolved”

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket