Giter Club home page Giter Club logo

code-space's Introduction

CodeSpace

Manages your local development projects and code repositories.

When developing projects, especially micro-services, we often end up with hundres of code repositories on our dev machines. CodeSpace helps to manage these repositories and do batch operations on them easily. You can use it as a stand-alone tool. There is no need to integrate into any project.

CodeSpace is inspired by the LinkORB Projex and Hotel.

Features

Project scanner

Recursively scans the giving directory to find projects/repositories. Scan the code repositories and show output to the console bin/codespace scan [--path=~/git]

Export projects

  1. Export to HTML bin/codespace export:html /path/to/the/target.html [--path=~/git]
  2. Export to CSV bin/codespace export:csv /path/to/the/target.csv [--path=~/git]

Auto-Generate web-server config files

With the export feature, we can easily generate Nginx server configuration files for multiple projects. It automatically detects your OS and figure out where to put the configuration files and log files; automatically detects the type of project and point to the correct web directory.

bin/codespace export:nginx-conf [--path=~/git] [--apply]

* At the moment, for OS support, only MacOS with Homebrew and Linux are supported. Only Symfony 3 and 4 projects are supported. Contributions needed.

Do git fetch on all projects

When the --pull option is used, the git pull command is executed instead of the git fetch command.

bin/codespace git fetch [--path=~/git] [--pull]

Auto-update your favorite IDE's project manager

Scan the repositories and make them available to your IDE's project manager plugins. Now Atom and VSCode are supported. The project managers are:

https://atom.io/packages/project-manager
https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager

Commands: Without specifying the --ide= option, both Atom and VSCode are updated.

bin/codespace ide:pm [--ide=atom] [--path=~/git]

Installation:

Use the source code:

composer install

Use the phar:

php code-space.phar

Use

Base command:

`bin/codespace`
# or
php code-space.phar

You can view all available commands by running the base command.

License

Please refer to the included LICENSE.md file

code-space's People

Contributors

h-wang avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.