Sick and tired of having to type project's location everytime I want to work on them. Basically, Project Locator will simply show a list of projects you have in config's ROOT property and navigate into them quickly. ProLo will never try to modify anything in your project folder. Well I tried to make the commands as short as possible.
This project uses zsh/&bash only (so far).
The following files help with the script:
config
: contains a list of configuration items.
ROOT: set to the main project folder in which all your projects are contained.
project
: contains a list of last 10 projects you used through pro
last
: contains a string of the latest project path you used.
You can add tasks to task
along with parameter project:name
, 'name' being the project folder's name. ProLo will simply display the list of task everytime you want to see it. Just use pro ta
.
You will need to alias the script to run the script as 'pro'.
alias pro=path/to/p.sh
$ pro (show last 10 projects)
$ pro a (show list of all project in your $ROOT in ./project )
$ pro l (goto last project you selected, shows path in ./last)
$ pro [0-9] (if you know the number then, jump to the project in that number)
$ pro [0-9] srcs (same as above, but also change to 'srcs' directory.)
$ pro l srcs (goto last project's 'srcs' directory.)
$ pro ta (shows latest project's tasks - depends on `task` program )
$ pro ta tag (runs the above command but with tag, using task's tag system.)
-
migrate non-directory changes to python
-
Let ProLo create a new project with specified template.
- Custom todo reader at a specified location.
-
Lets ProLo know that there are main sub folders that contain generic information which should be navigated quickly. e.g. I use this structure for every project folder. myproject -+- docs (contains all documentations and architecture information for development) +- devs (contains information about development, like scrum, agile stages etc) +- srcs (the main srcs containing all sort of source codes)
+ docs -> arch, design, reqs ... + devs -> elicitations, reqs, stages, todos.md ... + srcs -> myproject(android), myproject.b(api), myproject(configs) ...
-
add custom commands to each project folders and run to get bunch of repetitive stuffs done immediately. Like,
pro prepare
in an angular app will runng serve
, then open that project in my fav editor and then open my documentations in vim etc.- directly edit/create script files.
-
Git related features
- Read git branches and latest commits in the main menu.
-
Linking with
task
cli.- usba(users should be able) to link project directory with task project tag.
- a universal variable like
$pro
to let the users do thistask project:$pro I wan to do this
, always on when in the latest directory.
-
New command to execute everything in another shell program related to current project.
-
New config commands specific to each project folder.
pro l ?
will show list of command specific to current project.pro l s
will change to directory 'srcs' in that project location. -
connect with 'Pomo'
-
set current task from
task project:xxx
- set current task with progression with percentage