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

Command-line interface #29

Open
hagenburger opened this issue Aug 18, 2018 · 0 comments
Open

Command-line interface #29

hagenburger opened this issue Aug 18, 2018 · 0 comments
Labels
enhancement New feature or request external External integration specification-needed Help finishing the specification before working on this
Milestone

Comments

@hagenburger
Copy link
Owner

hagenburger commented Aug 18, 2018

New feature

Call PIMD from the command line. This should be a separate NPM package.

Specification

Input by user

pimd
# Hello world

End by pressing CMD + D. The output gets printed to the terminal.

Convert files

pimd convert input.md output.html

Loading plugins

pimd convert x.md x.html --use @pimd/id-plugin --use @pimd/preview-plugin 

Short version:

pimd convert x.md x.html -u@pimd/id-plugin -u@pimd/preview-plugin 

Config

Tbd.

Output version

All should work:

pimd version
pimd --version
pimd -v

Dependencies

Yargs or Commander could be used as a base.


This needs a review first and checked against the future (processing projects instead of single files)

@hagenburger hagenburger added enhancement New feature or request external External integration specification-needed Help finishing the specification before working on this labels Aug 18, 2018
@hagenburger hagenburger added this to the v1.0.0 milestone Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request external External integration specification-needed Help finishing the specification before working on this
Projects
None yet
Development

No branches or pull requests

1 participant