apps_script_tools 1.0.4 apps_script_tools: ^1.0.4 copied to clipboard
Tools for using Dart programs as Google Apps scripts on the server.
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: ^1.0.4
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';