Following is some describe.
when i first use procodile, i try to get help message like this
โฐโ $ procodile -h
Usage: procodile -h [options]
-r, --root PATH The path to the root of your application
--procfile PATH The path to the Procfile (defaults to: Procfile)
Okay, because i use procodile only on development laptop, so, i use one separated
file, Procfile.dev
, so, i try like this.
โฐโ $ 1 procodile --procfile Procfile.dev start
Error: Invalid command '--procfile'
I know it working when reverse order.
โฐโ $ procodile start --procfile Procfile.dev
No processes to start.
But, the first help message, make me belive --procodile Procfile.dev
should be a global
option, so, i can wrap procodile into a bash script like this:
#!/bin/bash
procodile --procfile Procfile.dev "$@"
But, it never working.
So, i think it should be a issue, thank you.
Another issue, when we have a Procfile with no content, when run procodile start
,
get a not so friendly message.
โฐโ $ procodile start
Traceback (most recent call last):
2: from /home/zw963/Dropbox/common/ruby/procodile/bin/procodile:85:in `<main>'
1: from /home/zw963/Dropbox/common/ruby/procodile/bin/procodile:85:in `new'
/home/public/Dropbox/common/ruby/procodile/lib/procodile/config.rb:29:in `initialize': undefined method `each_with_index' for false:FalseClass (NoMethodError)