GithubHelp home page GithubHelp logo

s5no5t / contentful-clean-space Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 15.0 208 KB

Delete all entries and content types from a contentful space

License: MIT License

TypeScript 97.50% JavaScript 2.50%
contentful

contentful-clean-space's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ikstar avatar s5no5t avatar soehlert-ecademy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

contentful-clean-space's Issues

Using this tool is terrifying. Here's some ideas to make it less scary.

Hi,

This is extremely helpful but terrifying to use.

My use case is that I have a sandbox environment I need to clear out which shares a space with the master environment of a production site for a commercial entity.

This tool should provide more verbose feedback and change its default settings to make it less likely to accidentally the delete the master environment entries, which I am terrified might happen.

Please implement the following:

  1. Please do NOT make master the default value for the --env option, or set any default value here, please make the user set this manually every time.

  2. Please DO make the default value for the --yes confirmation prompt true by default.

  3. Please DO print the environment name as a sanity check before deleting entries.

  4. Please DO provide an example of a "safe" and "correct" CLI command. So far, I have not been able to get the --yes flag to work correctly, having tried --yes, --yes=true, and -y.

Thank you!

Deprecated warning: Space.getContentTypes

When running the tool to delete all content types, warning messages are being shown asking for the usage of the method Environment.getContentTypes to replace Space.getContentTypes due to the deprecation and future removal of the later.

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.