Skip to content

A small command line utility for automating file creation and other helpers in a Rails app with Vue on the front end.

License

Notifications You must be signed in to change notification settings

msc-network/rails-aide

Repository files navigation

rails-aide Build Status

A small command line utility for automating file creation and other helpers in a Rails app with Vue on the front end.

Currently specific to the mscmgmt webapp.

For a more detailed look go read the docs

Install

First download the binary from here

Then copy to your usr/local sudo cp rails-aide /usr/local/bin

rails-aide is now available globally

Usage

For information about flags and what they do see usage.md

Quick Start

On first run a global config file will be created in ~/.rails-aide

Run: ./rails-aide -help

Development

The latest binary for Linux is included in the repo, to make your own:

Clone repo: git clone github.com/msc-network/rails-aide.git

Build binary: go build

Run tool: ./rails-aide -help

TODO

  • Write generated files to directory rather than where the binary is run
  • Piggy back running rails commands - involves storing model attributes and generate the rails command
  • Better config using a local file to overwrite the default if present
  • Allow use of a global config too
  • More involved templates including imports, mixins etc.
  • Rename to 'rails-aide'
  • Make generated filenames customisable via config
  • Create log and write to basedir

Credits

License

The MIT License (MIT) - see LICENSE.md for more details

About

A small command line utility for automating file creation and other helpers in a Rails app with Vue on the front end.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages