realize/README.md

1.4 KiB

Realize

######v1.0 Beta

Run, build and watch file changes with custom paths

Installation and usage

  • Run this for get/install it:

    $ go get github.com/ghodss/yaml
    
  • From the root of your project/projects:

    realize start 
    

    Will create a realize.config.yaml file with a sample project.

    You can pass additional parameters for your first project, such as the project name, the main file name and the base path.

    realize start --name="Project Name" --main="main.go" --base="/"
    
  • Add another project whenever you want

    realize add --name="Project Name" --main="main.go" --base="/"
    
  • Remove a project by his name

    realize remove --name="Project Name"
    
  • Lists all projects

    realize list
    
  • Build, Run and watch file changes. Realize will re-build and re-run your projects on each changes

    realize run 
    

To do

  • Command start - default config file
  • Command add - new project on the config file
  • Command remove - remove project from the config file
  • Command watch - watch changes and rebuild
  • Command list - print projects list
  • Remove duplicate projects
  • Support for multiples projects
  • Watcher files preview
  • Support for directories with duplicates names
  • Unit test
  • Documentation
  • Support for server start/stop
  • Cli feedback