Git Product home page Git Product logo

Comments (3)

msakrejda avatar msakrejda commented on June 8, 2024

Yeah, we should unify these. Thanks for pointing that out.

maciek@mothra:~$ heroku help redis:maintenance
Usage: heroku redis:maintenance [DATABASE]

manage maintenance windows

 -a, --app APP       # app to run command against
 -f, --force         # start maintenance without entering application maintenance mode
 -r, --remote REMOTE # git remote of app to run command against
 -w, --window WINDOW # set weekly UTC maintenance window
 --run               # start maintenance

Set or change the maintenance window for your Redis instance

maciek@mothra:~$ heroku help pg:maintenance
Usage: heroku pg:maintenance <info|run|window> <DATABASE>

 manage maintenance for <DATABASE>
 info               # show current maintenance information
 run                # start maintenance
   -f, --force      #   run pg:maintenance without entering application maintenance mode
 window="<window>"  # set weekly UTC maintenance window for DATABASE
                     # eg: `heroku pg:maintenance window="Sunday 14:30"`

Any thoughts on this, @heroku/cli and/or @heroku/dod-ux? I'm guesing we want something like redis/pg:maintenace (for info), redis/pg:maintenance:run (to trigger), and redis/pg:maintenance:window or redis/pg:maintenance:set (to set a window)?

from heroku-redis-jsplugin.

keiko713 avatar keiko713 commented on June 8, 2024

Now with new CLI, I think it's the best to tweak this so that it'll match to the heroku pg:maintenance command:

$ heroku help pg:maintenance
Usage: heroku pg:maintenance [DATABASE]

show current maintenance information

 -a, --app APP       # app to run command against
 -r, --remote REMOTE # git remote of app to run command against

Actually, above help message is not really helpful (which may be worth to look into, the same thing goes to heroku pg:backups, not showing sub-command's help is not really helpful there), but we basically changed to what Maciek suggested there.

from heroku-redis-jsplugin.

jdx avatar jdx commented on June 8, 2024

yeah one downside with the way we're doing subcommands is it doesn't list them since they're just individual commands. You'd have to run heroku help pg to see all of them. I've added heroku/cli#382 to track this.

from heroku-redis-jsplugin.

Related Issues (9)

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.