Skip to content

feat: improve analytics option usage#83

Merged
jorgecoca merged 3 commits intomainfrom
feat/improve-analytics-usage
Feb 22, 2021
Merged

feat: improve analytics option usage#83
jorgecoca merged 3 commits intomainfrom
feat/improve-analytics-usage

Conversation

@felangel
Copy link
Contributor

@felangel felangel commented Feb 22, 2021

Description

Updated Usage

🦄 A Very Good Command Line Interface

Usage: very_good <command> [arguments]

Global options:
-h, --help           Print this usage information.
    --version        Print the current version.
    --analytics      Toggle anonymous usage statistics.

          [false]    Disable anonymous usage statistics
          [true]     Enable anonymous usage statistics

Available commands:
  create   Creates a new very good flutter application in seconds.

Run "very_good help <command>" for more information about a command.

Running very_good --analytics will return a less noisy error:

$ very_good --analytics

Missing argument for "analytics".

🦄 A Very Good Command Line Interface

Usage: very_good <command> [arguments]

Global options:
-h, --help           Print this usage information.
    --version        Print the current version.
    --analytics      Toggle anonymous usage statistics.

          [false]    Disable anonymous usage statistics
          [true]     Enable anonymous usage statistics

Available commands:
  create   Creates a new very good flutter application in seconds.

Run "very_good help <command>" for more information about a command.

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@felangel felangel added the feature A new feature or request label Feb 22, 2021
@felangel felangel requested a review from jorgecoca February 22, 2021 21:55
@felangel felangel self-assigned this Feb 22, 2021
@jorgecoca jorgecoca merged commit c3ca589 into main Feb 22, 2021
@jorgecoca jorgecoca deleted the feat/improve-analytics-usage branch February 22, 2021 22:02
@felangel felangel mentioned this pull request Feb 22, 2021
7 tasks
ahsanf pushed a commit to Arkabyte-Teknologi/very_good_cli that referenced this pull request Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature A new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception is thrown when the analytics option was opted out

2 participants