Skip to content

Conversation

@AbdurrehmanSubhani
Copy link
Contributor

  • remove "force" flag keeping only forceNoConfirm, better DX to always prompt user if directory not empty instead of throwing exceptions
  • prompt user if the directory is not empty to delete contents

@vercel
Copy link

vercel bot commented Dec 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 5:49am
upstreet.ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 5:49am

const source = args.source;
const features = typeof args.feature === 'string' ? JSON.parse(args.feature) : (args.feature || {});
const yes = args.yes;
const force = !!args.force;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this flag is no longer needed, we can remove the option from the cli.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes overlooked, removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants