File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,39 +37,7 @@ Raise a github [issue](https://github.com/onepub-dev/onepub/issues) for bugs or
3737
3838For general dicsussions and 'how to' information join our github [ discussion] ( https://github.com/onepub-dev/onepub/discussions ) groups.
3939
40- # opub
4140
42- With Google deprecating the pub command in favour of using ` flutter pub ` or ` dart pub `
43- we have created a replacement ` opub ` command for the lazy ones amoungst us (like me).
44-
45- You will also need to use opub to publish to OnePub if you are using a version of Dart pre 2.12.
46-
47- Our opub command is a very thin wrapper for ` flutter pub ` and ` dart pub ` and simply
48- passes any command line arguments through to ` flutter pub ` or ` dart pub ` .
49-
50-
51- The opub command detects if your project is a flutter (checks your pubspec.yaml)
52- if found runs:
53-
54- ` flutter pub <args> `
55-
56- If you have a non-flutter project then we run
57-
58- ` dart pub <args> `
59-
60-
61- So to use opub command:
62-
63- ``` bash
64- dart pub global activate onepub
65- opub get
66- or
67- opub upgrade --major-version
68- or
69- any other pub subcommands and arguments
70- ```
71-
72- Enjoy.
7341
7442
7543# Security Policy
You can’t perform that action at this time.
0 commit comments