You can run something like bundle exec cap dev --trace autoscaling_deploy:setup_instances to test. Is this what you are looking for?
~William Johnston On Tue, Sep 20, 2016 at 9:12 AM, Marcos Chicote <chicotemar...@gmail.com> wrote: > Hi Lee > I'm working on a Capistrano plugin myself and I've been looking at > https://github.com/seuros/capistrano-puma and > https://github.com/seuros/capistrano-sidekiq for guidance. > Its a very simple plugin strongly based on an existing plugin that is not > being maintained anymore so I just wrote the code and I now want to test it > a little bit. However, I can't figure out how can I easily execute the task > I wrote from the command line while developing. Current version does not use > any methods from Capistrano (they are commented out actually). Can you help > me with this? All code is available at > https://github.com/mchicote/capistrano3-autoscaling-deploy > > Thanks! > > On Friday, August 12, 2016 at 7:35:26 AM UTC-3, Lee Hambley wrote: >> >> Hi Haani, >> >> The best thing to do is to look at something like >> https://github.com/capistrano/rails plugin and/or something *very* simple >> such as https://github.com/harrowio/capistrano-harrow which is a minimal >> plugin with one single hook >> >> Lee Hambley >> http://lee.hambley.name/ >> +49 (0) 170 298 5667 >> >> On 12 August 2016 at 11:57, Haani Niyaz <haani...@gmail.com> wrote: >>> >>> Hi there, >>> >>> I'm interested in writing a few Capistrano plugins to share some of the >>> code resources between multiple capistrano projects we use. I assume this >>> where writing a Capistrano plugin would come in handy unless there is a >>> better way? >>> >>> I'm wondering how to get started. Does anyone have any step-by-step >>> resources they can point me to? >>> >>> Thanks. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Capistrano" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to capistrano+...@googlegroups.com. >>> To view this discussion on the web, visit >>> https://groups.google.com/d/msgid/capistrano/793a1a22-1f89-4da3-bffb-0afdb534e752%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to capistrano+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/b8251427-89b2-45a0-ae30-4a9ec6ac9b84%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAJBYiQiqQLMy8z8FxiBtWTKFTEYTeULVnMZW37YgcEaAEBA_cA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.