Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-657

Introduce --force switch for slider destroy command

    XMLWordPrintableJSON

Details

    Description

      Slider destroy has irrecoverable implications where directories and registries are permanently deleted. For some applications this could mean loosing valuable data. It might be a good idea to introduce a --force switch, so that admins/application-owners are given a chance to ensure they know what they are doing.

      This is something in-line with git clean. When invoked by default it fails with a message saying -f is mandatory (unless the git config variable clean.requireForce is set to false). If the user is confident he/she will re-run the command with the force switch.

      Slider could do something similar.

      Attachments

        1. SLIDER-657-001.patch
          11 kB
          Sherry Guo
        2. SLIDER-657-002.patch
          11 kB
          Sherry Guo

        Issue Links

          Activity

            People

              sherryxg Sherry Guo
              gsaha Gour Saha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: