egis / papertrail-python-cli

1 stars 9 forks source link

pt docker --workspace #48

Open moshloop opened 8 years ago

moshloop commented 8 years ago

Link in a directory that get's automatically watched, built and deployed e.g.

MojoJojo commented 7 years ago

How about something like pt --init-workspace that:

  1. Prompts the user for project name, the type of project (workflow, front end, etc)
  2. Creates the corresponding folder
  3. Initializes the git repo and clones build-tools and sets up gradle/npm/bower/grunt accordingly
  4. Updates the circle ci based on user choices in 1.
  5. Runs other chores and sets up a watch/build/deploy

Another consideration would be to move the scripting out of npm into corresponding CLI commands so that setting up and creating a new project is as simple and straightforward as possible. Instead of me having to clone/copy the repo or scripts, I can just the the pt --init-workspace command which in turn executes the scripts.

@Egis-Moshe What do you think?

MojoJojo commented 7 years ago

or perhaps something like:

pt new <<type of project>>

where type project could be workflow, front end etc.

moshloop commented 7 years ago

@MojoJojo sounds good, we could just wrap https://github.com/egis/ProjectBootstrap