Skip to content

Minor fixes #1

@vlad-x

Description

@vlad-x
  1. let's rename the project to unit-cli (lowercase U) 😃
  2. use process.cwd() as the current path when suggesting the path first time
  3. don't ask the server during setup (just assume https://unitcluster.com by default)
  4. watch for new/deleted files
  5. why is daemon true by default?
  6. make a helper function to construct URLs (DRY in runUrl, printUnitLogs)
  7. don't use quotes around simple field name (e.g. 'Authorization' -> Authorization)
  8. make it possible to run units separately i.e. running unit-cli filename[.js] (.js - optional) will synchronize unit filename (create if new, deploy if not deployed) and run it in unitcluster
  9. sometimes local unit code becomes empty (bug)
  10. didn't synchronize private units (bug)
  11. Text changes:
  • Intro:
Hi! It seems you're runing unit-cli for the first time
Enter your UnitCluster login and API key 
Login:
API key:
Folder to sync your units to [default]:
  • Watch
Watching units in [path] for changes...
  1. Make a readme and let's publish to NPM! 🎉

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions