mongodb-js / mj

#wip mongodb-js tooling
https://github.com/mongodb-js/mj
Apache License 2.0
0 stars 2 forks source link

`mj init` #3

Closed imlucas closed 9 years ago

imlucas commented 9 years ago

For someone who is just starting to work on mongodb-js, they should be able to just npm install -g mj && mj init to install and do initial configuration of things like:

rueckstiess commented 9 years ago

Not everyone on sublime though. How about:

Usage: 
  mj init [--sublime] [-h]

Options:
  --sublime        Installs sublime plugins (JSFMT, JSHint Gutter) if not present, hides dot files

installs/updates all khaos templates

Which templates are these?

rueckstiess commented 9 years ago

Propose to rename init to install. Init sounds so harmless, and is probably better used to "initialize" a repo (i.e. add missing files, or register it with mongodb-js mothership).

mj install does what is says: it installs stuff (independent of current repo).

The first two items (prompt for name, install templates) should be moved to mj create.

rueckstiess commented 9 years ago

Sublime Data directory:

https://sublime-text-unofficial-documentation.readthedocs.org/en/latest/basic_concepts.html?highlight=config#the-data-directory

rueckstiess commented 9 years ago

If Package Control is installed in Sublime, packages can be "registered" by simply adding them to Package Control.sublime-settings. On next restart of sublime they will be installed.

This is probably the easiest and "gentlest" way to get plugins installed.