unpuber_cli 0.0.1
unpuber_cli: ^0.0.1 copied to clipboard
custom pub.flutter-io.cn server command line tool.
A custom pub.flutter-io.cn server command line.
running with the Dart SDK #
dart pub global activate unpuber_cli
unpuber_cli
# [unpuber_cli] π dir is empty, using $HOME/.unpuber: /Users/xxx/.unpuber as default package directory
# [unpuber_cli] π₯ listening at http://0.0.0.0:4000
running with docker #
docker pull humphreyio/unpuber_cli
docker run -it humphreyio/unpuber_cli
# [unpuber_cli] π dir is empty, using $HOME/.unpuber: /Users/xxx/.unpuber as default package directory
# [unpuber_cli] π₯ listening at http://0.0.0.0:4000
using with dart-cli #
# add dart token to unpuber server
dart pub token add http://localhost:4000 # maybe your public ip/domain
# enter a dart/flutter package
# change pacakge publish_to: field to unpuber server
# pubpsec.yaml
name: xxxx
description: xxx
publish_to: http://localhost:4000
# follow dart publish policy to modify package
dart pub publish --dry-run
# after everything is valid.
dart pub publish
TODO #
[ x ] support dotenv/environment variable configuration