- From: Joshua Timberman <
>
- To: "<
>" <
>
- Subject: [chef] Re: knife shebang
- Date: Tue, 30 Apr 2013 20:56:18 +0000
- Accept-language: en-US
Hi Joe,
On Apr 30, 2013, at 1:57 PM, joe.nuspl
<
>
wrote:
>
As I start developing more and more knife exec scripts, it would be nice to
>
make them executable via a shebang, i.e.
>
>
#! /usr/bin/env knife
>
>
I've tried various incantations without success. Has anyone had success?
Are you writing knife scripts, a la "knife exec"? Or knife plugins?
If the former:
#!/usr/bin/env knife exec
If the latter, you don't run them directly, instead call as a knife
subcommand:
knife mything
--
Joshua Timberman | Opscode, Inc.
Twitter/GitHub: jtimberman
Archive powered by MHonArc 2.6.16.