Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support options for filename out and STDOUT #2

Open
rbuckland opened this issue Mar 11, 2018 · 3 comments
Open

Support options for filename out and STDOUT #2

rbuckland opened this issue Mar 11, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@rbuckland
Copy link

Currently the yamlinc generates a <file>.inc.yml file in the current directory.
Greater flexibility is needed where the output file can be specified.

For example

yamlinc -o some/path/to/MyType.yml src/types/MyType.yml

or
Writing to STDOUT
yamlinc -o - src/types/MyType.yml

@francescobianco
Copy link
Member

Hi @rbuckland a new version 0.1.0 is on NPM registry
https://www.npmjs.com/package/yamlinc
with: Support for STDOUT

please help, support Yamlinc:

promote Yamlinc into your team and your community
ask your friends to click on Star button
share your Yaml file scenarios (es. Drupal, Symfony, API, Configurations, Infrastructure as code, etc..)

@jahluwalia
Copy link

The latest 0.1.0 on npm doesn't seem to work:

Error: Cannot find module 'mkdirp'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/node/.npm-global/lib/node_modules/yamlinc/src/yamlinc.js:9:16)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

@francescobianco
Copy link
Member

Hi @jahluwalia @rbuckland please use version 0.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants