Skip to content

mmcgraw73/sitx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sitx

license github-issues

search directory for references to localhost:1111/sit and replaces existing sit(val) with new sit(val)

nodei.co

version stars forks

Features

to quickly update localhost URL to point at given API

  • navigate to root directory: $ cd path/to/online---frontend
  • in terminal use command sitx + @argv, where @argv is the number for the API
  • to update to sit1 API: $ sitx 1
  • to update to sit3 API: $ sitx 3
  • any single digit number can be used as @argv
  • on success, 8 files will be updated to localhost:1111/sit@argv
    successful update screenshot

Install

npm install -g sitx

Dependencies

Package Version Dev
replace ^0.3.0
node-readme ^0.1.9

Contributing

Contributions welcome; Please submit all pull requests against master branch. Thanks!

Author

michael mcgraw

License

About

node executable for updating localhost sit api URL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published