Giter Site home page Giter Site logo

projects-cli's People

Contributors

webdesserts avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

projects-cli's Issues

Allow custom alias

Either implement #5 and drop the p alias, or allow passing an option to init to define your custom alias.

Add `projects groups` subcommand

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

Fix broken bash output

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

Git integration

I'm not sure how to handle this quite yet, but we could add git integration in a few ways:

  • We could limit project select to only return folders that have been initialized as .git repositories.
  • We could potentially recursively search a directory for .git folders, instead of only doing a shallow search.
  • This could be the default and the full folder search could be optional, though I wouldn't do this in combination with the recursive search.
  • We could display details about the current branch and tag when searching (maybe TMI?)

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.

Add `project select`

Lets add a project select command that allows users to take advantage of the project fuzzy finder for purposes other than cd.

Add command aliases

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

Add Readme

Add a Readme with the following:

  • Short description
  • Installation
  • Basic Usage
  • List of commands

Publish to brew

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...

  1. Install rust
  2. Add ~/.cargo/bin to your path

This 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.

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.