webdesserts / projects-cli Goto Github PK
View Code? Open in Web Editor NEWA tool for tracking, searching, and jumping to your projects.
Home Page: https://crates.io/crates/projects
A tool for tracking, searching, and jumping to your projects.
Home Page: https://crates.io/crates/projects
Add a Readme with the following:
Right now it's hard to communicate that the path you're adding is not the path to a project, but the path to a group of projects. Consider adding a new projects groups
command that could separate commands specific to those root paths. Current ideas on commands:
projects groups add .
projects groups remove .
projects groups list.
projects list
projects select
Lets add a project select
command that allows users to take advantage of the project fuzzy finder for purposes other than cd
.
For some reason when there are 3 or more arguments when get some bash jank as follows:
projects:[:1: too many arguments
Please fix that
projects list
projects remove
projects select
(the side information)Either implement #5 and drop the p
alias, or allow passing an option to init to define your custom alias.
When a user calls projects remove
with no path argument, we should list off the current folders being tracked.
Right now even though cargo install projects
is a real quick install, if you've never used cargo install
before I'm pretty sure you still have to...
~/.cargo/bin
to your pathThis is still a good bit of extra setup, so it kind defeats the original goal of a (quick and easy setup) for anyone who doesn't already use rust bins. I should at the very least document this as "pre-requisites", but another solution would be to figure out how to publish this to brew. I know there's a cargo-brew
crate, but that seems a bit unmaintained and only seems to set things up locally. In general I just need to do more research on what it takes to get a tap published.
https://github.com/starship/starship/tree/master/src/init
Starship has an interesting way of initing the cli via a bash script. I would love to dig into this and simplify the shell setup for project-cli as well.
I'm not sure how to handle this quite yet, but we could add git integration in a few ways:
project select
to only return folders that have been initialized as .git
repositories..git
folders, instead of only doing a shallow search.Right now I'm leaning toward shallow search that looks for git directories by default. We could then pass an optional argument that also lists normal directories. Not entirely sure what the best UX here would be.
Or a badge, whatever
I usually prefer verbose command names, but in some cases the aliases are so common that it hurts the ux if we don't have them:
projects list
-> projects ls
projects remove
-> projects rm
When a user runs project track
add an explainer that this will add projects in this folder and preview what projects will be included.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.