apps_script_tools 1.0.4 copy "apps_script_tools: ^1.0.4" to clipboard
apps_script_tools: ^1.0.4 copied to clipboard

Tools for using Dart programs as Google Apps scripts on the server.

example/example.dart

// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import 'package:apps_script_tools/upload.dart';

// A sample script that uploads a dart2js-compiled file to the cloud as
// google-apps script.
//
// Generally, one should simply use the provided programs, but pub wants to
// have an example, and otherwise decreases the score and thus relevancy.
main(List<String> args) async {
  var sourcePath = args[0];
  var destination = args[1];
  upload(sourcePath, destination);
}
5
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Tools for using Dart programs as Google Apps scripts on the server.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (LICENSE)

Dependencies

args, googleapis, googleapis_auth, http, path, watcher

More

Packages that depend on apps_script_tools