onepub
7.2.0, released 5 days ago by onepub.dev
Command line tools for the OnePub private Dart and Flutter package repository.
What it does
The onepub CLI allows developers to authenticate, manage private package repositories, mark packages as private, publish them, and add private dependencies to Dart and Flutter projects. It supports trusted publishing workflows with OIDC for CI/CD environments.
AI-written summary of version 7.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You host private Dart or Flutter packages on OnePub.
- You need to authenticate with OnePub from your local machine or CI/CD pipeline.
Skip it when
- You only use public packages from pub.dev.
- You use a different private package repository host.
Strengths
- Seamless integration with standard Dart and Flutter publishing tooling.
- Supports trusted publishing using OIDC in CI/CD pipelines like GitHub Actions and Azure Pipelines.
Weaknesses
- Tied specifically to the OnePub private repository service.
- Unknown license terms.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 17
Install globally via 'dart pub global activate onepub' and run 'onepub login' to authenticate.
dart pub global activate onepub
onepub login
onepub pub private
dart pub publishAlternatives
Packages that do the same job and could replace onepub.
- dart_frog_cli
Official command-line interface for the Dart Frog backend framework.
86Compare
Works with
Packages commonly used together with onepub: ones it builds on, ones built on it, and its own family.
- yamlonepub depends on itA Dart library for parsing YAML documents into Dart data structures.
- pub_semveronepub depends on itVersions and version constraints implementing pub's versioning policy.
- uuidonepub depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- stack_traceonepub depends on itProvides parsing, inspection, and readable formatting of Dart stack traces.
- argsonepub depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- cli_utilonepub depends on itUtilities to help build Dart command-line apps, find the SDK, and display progress.
- dart_consoleonepub depends on itA helper library for command-line applications requiring advanced control over input/output.
- scopeonepub depends on itA Dart library for dependency injection using scopes and call‑stack based values.