These are chat archives for JScott/robot_sweatshop

21st
Mar 2015
Justin Scott
@JScott
Mar 21 2015 00:52

Replace need for templating. Have editor not trigger unless flagged

sweatshop config --edit
sweatshop job example --edit

create file (and display name):
sweatshop asdf

create file and edit:
sweatshop adsf --edit [editor]

reset file:
sweatshop asdf --reset

reset file and edit:
sweatshop asdf --edit [editor] --reset

break create_and_edit into create_file and edit_file
if edit_file has no editor passed in, default to $EDITOR
avoid calling if --edit isn't present

Some ideas for making CLI make more sense: