Code Monkey home page Code Monkey logo

Comments (5)

saurabhdaware avatar saurabhdaware commented on July 28, 2024 1

How about?
adding a --for-project [projectName] flag to seteditor. It will be optional and when not added everything will work as it does right now.
It will look something like :

pm seteditor [commandToOpenEditor] --for-project [projectName]

[commandToOpenEditor] and [projectName] will be optional arguments and when not passed they will be asked as a list question.

I think this will look better and will be easy to implement and also will not break anything from the older versions.

I've started working on this in add-editor-forproject branch and will put it up for beta test when I finish coding it.

Still, give your thoughts on this and if there's any way we can make it easier without breaking anything then do mention in comments.

from projectman.

ZakariaTalhami avatar ZakariaTalhami commented on July 28, 2024

This seems useful, are you going to make the editor and project name optional?
like:
pm seteditor --for-project
or for short
pm seteditor -p
these would prompt the list for both the editor and project name and the user can select from that.

from projectman.

saurabhdaware avatar saurabhdaware commented on July 28, 2024

yeah they will be optional

from projectman.

saurabhdaware avatar saurabhdaware commented on July 28, 2024

Has been added in v1.2.0-beta.1
For beta testers:

npm install -g https://github.com/saurabhdaware/projectman#v1.2.0-beta.1

This issue will close with the release of v1.2.0

from projectman.

saurabhdaware avatar saurabhdaware commented on July 28, 2024

Resolved in v1.2.0 (#19).

from projectman.

Related Issues (17)

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.