apps_script_tools 0.0.1 apps_script_tools: ^0.0.1 copied to clipboard
Tools for using Dart programs as Google Apps scripts.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate apps_script_tools
Use it
The package has the following executables:
$ apps_script_gsify
$ apps_script_upload
$ apps_script_watch
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add apps_script_tools
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
apps_script_tools: ^0.0.1
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:apps_script_tools/gsify.dart';
import 'package:apps_script_tools/main.dart';
import 'package:apps_script_tools/run.dart';
import 'package:apps_script_tools/upload.dart';