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

[Feature]CLI specification #5

Closed
Souvikns opened this issue Apr 3, 2021 · 1 comment
Closed

[Feature]CLI specification #5

Souvikns opened this issue Apr 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Souvikns
Copy link
Owner

Souvikns commented Apr 3, 2021

As for now, the functionalities are

  • build
  • create
  • dev

build command

diplodoc will be converting .md files to .html also adding styles and static content and spit all these files into a build folder

create command

This command will generate a diplodoc project structure template.
basic template

- pages
    - index.md
- static
    - images
        - logo.png
- diplodoc.config.js

dev command

This command will just create a dev server and run on port localhost:3000 for development purpose.

@Souvikns Souvikns added the enhancement New feature or request label Apr 3, 2021
@Souvikns
Copy link
Owner Author

Souvikns commented Apr 10, 2021

diplodoc <action/verb> <resource>

options: 
-V, --version   output the version number
-h, --help        display help for command

commands:
create [options]    create project
build   [options]    create build 
dev     [options]    run development server

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

1 participant