micons_cli 0.0.1+3 micons_cli: ^0.0.1+3 copied to clipboard
The oficial CLI for icons.meedu.app
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate micons_cli
Use it
The package has the following executables:
$ micons
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add micons_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
micons_cli: ^0.0.1+3
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:micons_cli/commands/init.dart';
import 'package:micons_cli/commands/log_out.dart';
import 'package:micons_cli/commands/login.dart';
import 'package:micons_cli/commands/pull.dart';
import 'package:micons_cli/data/http.dart';
import 'package:micons_cli/data/repositories_impl/auth_repository_impl.dart';
import 'package:micons_cli/data/repositories_impl/packages_repository_impl.dart';
import 'package:micons_cli/domain/models/http_result.dart';
import 'package:micons_cli/domain/models/http_result.freezed.dart';
import 'package:micons_cli/domain/models/package.dart';
import 'package:micons_cli/domain/models/package.freezed.dart';
import 'package:micons_cli/domain/models/package.g.dart';
import 'package:micons_cli/domain/models/session.dart';
import 'package:micons_cli/domain/models/session.freezed.dart';
import 'package:micons_cli/domain/models/session.g.dart';
import 'package:micons_cli/domain/models/svg_icon.dart';
import 'package:micons_cli/domain/models/svg_icon.freezed.dart';
import 'package:micons_cli/domain/models/svg_icon.g.dart';
import 'package:micons_cli/domain/repositories/auth_repositoty.dart';
import 'package:micons_cli/domain/repositories/packages_repository.dart';
import 'package:micons_cli/domain/typedefs.dart';
import 'package:micons_cli/inject_repositories.dart';
import 'package:micons_cli/meedu_icons.dart';
import 'package:micons_cli/utils/get_config.dart';
import 'package:micons_cli/utils/loader.dart';