conteman's People
conteman's Issues
Update parse_args func for Command and State classes
Last part of State.parse_args must be moved into Command/CommandObserver class.
Allow absolute path to context folder
Add current project context.
So commands without name will be executed for specific project.
This can be done after daemonising conteman itself. ( #9 )
GUI
It would be great to have some sort of GUI (console/graphic/both) to see/manage all projects, available commands, modules, etc.
Console: ncurses
Graphic: look at Zeegaree, really good interface.
User-defined actions
Need some way (new module?) to store and run user-defined actions for other commands (pre/post scripts)
Interactive shell: expand for modules
If someone need to configure a lot of modules, it make sense to create interactive mode for it. Something like:
$add-module: git --user user --email email --clone git://some.url/to/clone.git
....
Done!
$add-module: some another module
....
Error!
Blabla error message
$add-module: exit
Bye!
$
Change the way module commands is defined
Move command definition from python code into module config file, section commands.
So it must be something like:
commands:
commandname:
- argumentname:
type?
default?
- argument2name:
type?
default?
New option for module arguments.
for instance:
create projname -m sublime git -o sublime:file:/path/to/sublime/proj git:name:username git:email:[email protected]
create projname -m sublime git -o 1:file:/path/to/sublime/proj 2:name:username 2:email:[email protected]
So you don't need interactive shell for this options.
Check argparse doc, I think it can be done with it.
Daemonize conteman
ModuleParser: create Module class with lazy module loading (after command selected).
Allow new commands in modules
For instance, git module can add commit
command. And then from console: $ conteman commit proj
will commit all changes in proj directory.
scenarios/sets ?
Probably it would be great to have some scenarios/sets for commands.
For example, open in light mode, run tests before open, etc.
Wrong config save
Error in writing modules
section.
merge state with config
Need to merge 2 classes, State and Config
Command must be saved and called with module name to prevent crossing with other modules
split public and private data in config
Need some way to store private data in config.
Common arguments
Modules must have ability to declare common arguments. For instance, -f | --force
for forcing. Or use global name instead of declaring local.
I see solution as extending argparse - add new flag, global representation (or use global, smth like this).
Projects without folders
folders must be added from base module. If project have no folder, store it in HOME_DIR/.conteman/projects
.
add .env.example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.