webhook_handler 0.0.6

  • Readme
  • Changelog
  • Installing
  • 55

webhook handler #

  • pub global activate webhook_handler
  • Run webhook_handler from directory where you will run webhook_handler later.
  • webhook_handler_secrets.yaml will be created.
  • Change webhook_handler_secrets.yaml file in the current directory.
  • Change the webhook-script.sh file. It will do some usefull job for you when webhook request coming.
  • Run webhook_handler again
  • Send GET or POST request according to webhook_handler_secrets.yaml to the server for run webhook-script.sh

Changelog #

0.0.1 #

  • Initial version, created by Stagehand

0.0.2 #

  • webhook_handler_secrets.yaml auto creating

0.0.3 #

  • fix

0.0.4 #

  • fix

0.0.5 #

  • README improved

0.0.6 #

  • async run process

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate webhook_handler

2. Use it

The package has the following executables:


$ webhook_handler
Popularity:
Describes how popular the package is relative to other packages. [more]
19
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
55
Learn more about scoring.

We analyzed this package on Feb 28, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix bin/webhook-handler.dart. (-1.99 points)

Analysis of bin/webhook-handler.dart reported 4 hints:

line 33 col 5: DO use curly braces for all flow control structures.

line 39 col 5: DO use curly braces for all flow control structures.

line 43 col 5: DO use curly braces for all flow control structures.

line 45 col 5: DO use curly braces for all flow control structures.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: parsing /dart-sdk/lib/async/async.dart... parsing /dart-sdk/lib/collection/collection.dart... parsing /dart-sdk/lib/internal/internal.dart... parsing /dart-sdk/lib/convert/convert.dart... parsing /dart-sdk/lib/typed_data/typed_data.dart... parsing /dart-sdk/lib/core/core.dart... parsing /dart-sdk/lib/math/math.dart... parsing /dart-sdk/lib/developer/developer.dart... parsing /dart-sdk/lib/isolate/isolate.dart... parsing /dart-sdk/lib/ffi/ffi.dart... parsing /dart-sdk/lib/html/dart2js/html_dart2js.dart... parsing /dart-sdk/lib/html/html_common/html_common_dart2js.dart... parsing /dart-sdk/lib/web_gl/dart2js/web_gl_dart2js.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/native_typed_data.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/interceptors.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/js_helper.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/foreign_helper.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/js_names.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/rti.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/shared/recipe_syntax.dart... parsing /dart-sdk/lib/js_util/dart2js/js_util_dart2js.dart... parsing /dart-sdk/lib/html/html_common/metadata.dart... parsing /dart-sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart... parsing /dart-sdk/lib/svg/dart2js/svg_dart2js.dart... parsing /dart-sdk/lib/web_audio/dart2js/web_audio_dart2js.dart... parsing /dart-sdk/lib/web_sql/dart2js/web_sql_dart2js.dart... parsing /dart-sdk/lib/_http/http.dart... parsing /dart-sdk/lib/io/io.dart... parsing /dart-sdk/lib/js/dart2js/js_dart2js.dart... parsing /dart-sdk/lib/js/_js.dart... parsing /dart-sdk/lib/mirrors/mirrors.dart... parsing /dart-sdk/lib/html/dartium/nativewrappers.dart... parsing /dart-sdk/lib/cli/cli.dart... parsing /dart-sdk/lib/wasm/wasm.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/js_primitives.dart... parsing /dart-sdk/lib/_internal/js_runtime/lib/shared/async_await_error_codes.dart... Initialized dartdoc with 37 libraries in 29.7 seconds documenting webhook_handler Validating docs... no issues found Documented 0 public libraries in 1.3 seconds stderr: Documenting webhook_handler... Unhandled exception: dartdoc could not find any libraries to document #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:196:7)

Fix analysis_options.yaml.

The analyzer can't parse analysis_options.yaml.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.65 <3.0.0
jaguar ^2.4.4 2.4.36
jaguar_resty ^2.8.0 2.10.14
yaml ^2.2.0 2.2.0
Transitive dependencies
async 2.4.0
auth_header 2.1.4
charcode 1.1.3
client_cookie 2.2.1
collection 1.14.12
convert 2.1.1
crypto 2.1.4
http 0.12.0+4
http_parser 3.1.3
http_server 0.9.8+3
jaguar_common 2.1.4
jaguar_serializer 2.2.12
logging 0.11.4
meta 1.1.8
mime 0.9.6+3
path 1.6.4
path_tree 2.2.2
pedantic 1.9.0
source_span 1.6.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
test ^1.3.0