5.1.0 • Published 6 years ago

monument-cli v5.1.0

Weekly downloads
65
License
MIT
Repository
github
Last release
6 years ago

monument-cli

Greenkeeper badge npm stats

Codeship Status for ansble/monument-cli

This is the CLI for working with monument. Its job is to make your life easier and your development faster by providing a set of workflow tools for managing the development process. They are outlined below... It is also the fastest way to get a monument project stood up and ready to go.

You use it by first installing it: npm install -g monument-cli

To get a new project simply navigate your terminal to the desired location and run monument new answer a few questions and you will have a basic project with an initial route stubbed out for you.

commands

monument new <path-to-project>

This is the command that gets you the basic project structure for a monument project. More information on monument is available and you should check out the documentation there as well as this documentation.

So when you run monument new <path-to-project> you are going to be asked the following:

  • What is the name of your project?
  • What version shall we start with? (must be semver compatible and defaults to 1.0.0)
  • And what are you about to build? (this is used to stub out some documentation for you)

From there it lays down a bunch of files after templating them. You end up with a directory structure like this:

	project/
        data/
            readme //placeholder for git to respect dir structure
        public/
            components/
                readme //placeholder for git to respect dir structure
            dist/
                readme //placeholder for git to respect dir structure
		routes/
			main.js
            main.test.js
			error.js
            error.test.js
		templates/
			main.jst
			error.jst
        test_stubs/
            connectionStub.js
		.bowerrc
		.editorconfig
		.eslintrc
        .gitignore
		readme.md
		app.js
        gulpfile.js
		package.json
		routes.json

About the path-to-project paramter

If you don't pass it a <path-to-project> it will default to .. Passing it a path that doesn't exist yet will create the path. If you try to create a project in a directory that has files in it the process will exit.

monument routes

Takes your routes.json file and stubbs out any routes that are not currently written. These are placed in the routes/ directory, as are stubbed out tests for them.

monument data <name-of-data-handler

Stubs out evented data handlers for you on the fly... and gets them ready to use. These handlers are placed in the data/ directory of your project and corresponding tests are placed new to them.

5.1.0

6 years ago

5.0.13

6 years ago

5.0.12

6 years ago

5.0.11

6 years ago

5.0.10

6 years ago

5.0.9

6 years ago

5.0.8

6 years ago

5.0.7

6 years ago

5.0.6

6 years ago

5.0.5

6 years ago

5.0.4

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.3.6

6 years ago

3.3.5

6 years ago

3.3.4

6 years ago

3.3.3

6 years ago

3.3.2

6 years ago

3.3.1

6 years ago

3.3.0

6 years ago

3.2.1

6 years ago

3.2.0

7 years ago

3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.6.5

7 years ago

2.6.4

7 years ago

2.6.3

7 years ago

2.6.2

7 years ago

2.6.1

7 years ago

2.6.0

7 years ago

1.3.0

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.1-rc.8

8 years ago

1.0.1-rc.7

8 years ago

1.0.1-rc.6

8 years ago

1.0.1-rc.5

8 years ago

1.0.1-rc.4

8 years ago

1.0.1-rc.3

8 years ago

1.0.1-rc.2

8 years ago

1.0.1-rc.1

8 years ago

1.0.0

8 years ago