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

rework dobi cli and dobi browser toolkit #66

Open
scien opened this issue Aug 18, 2014 · 2 comments
Open

rework dobi cli and dobi browser toolkit #66

scien opened this issue Aug 18, 2014 · 2 comments
Assignees
Milestone

Comments

@scien
Copy link
Contributor

scien commented Aug 18, 2014

  • move server to require('dobi').Server
  • move cli to require('dobi').CLI
  • dobi = require('dobi') should contain core dobi utilities that can also be used in the browser
@scien scien self-assigned this Aug 18, 2014
@scien scien changed the title make dobi browser/server compatible make dobi browser/node compatible Aug 18, 2014
@scien
Copy link
Contributor Author

scien commented Aug 18, 2014

functionality is too different. going to keep them separate, but move functionality from lt3 core to dobi browser library

browser

  • login (email and facebook)
  • track analytics (custom and google)
  • connect to dev server
  • load a package
  • load a package partial

node

  • login
  • backup a site
  • cache bust a site
  • cache warm a site
  • clone a site
  • create a package (node only)
  • deploy a package (node only)
  • lint a package
  • create a new site
  • run a development server

@scien
Copy link
Contributor Author

scien commented Aug 18, 2014

node...

dobi login
dobi logout
dobi newapp (create a new app)
dobi newsite (create a new site)
dobi run (run a dev server)
dobi deploy (deploy a package)
dobi clear (aka: cache:clear, bust, cache:bust) (clear cache for a domain)
dobi warm (aka: cache:warm) (warm cache for a domain)
dobi open (open a site by slug)
dobi backup (backup a site. creates a setup.cson file which can be used in `dobi newsite`)
dobi start (daemonize a dev server)
dobi stop (stop a daemonized dev server)
dobi version (check your version)
dobi whoami (check your login status)
dobi help (aka: usage) (show help docs)

browser

dobi.track (track an analytic)
dobi.login (login)
dobi.logout (logout)
dobi.libs (helper libraries)
dobi.Presenter (base presenter)
dobi.pkg (spot for loaded packages)
dobi.loadPackage

@scien scien changed the title make dobi browser/node compatible rework dobi cli and dobi browser toolkit Aug 18, 2014
@scien scien modified the milestone: misc Sep 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant