shakesco_scripts 1.0.6 shakesco_scripts: ^1.0.6 copied to clipboard
A Library of command line helpers to make coding at shakesco a breeze.
Shakesco Scripts #
Welcome to Shakesco Scripts. The package that contains all those terminal niceties that we use every day at ShakesCo. It also contains some reusable code and is compatible with both dart and flutter apps.
Getting Started #
To get started, just download to your flutter/dart project using pub:
$ dart pub add shakesco_scripts
Usage #
1. Terminal Niceties #
Localize your app based on 6 predefined languages (en, fr, es, de, ru, zh)
$ dart run shakesco_scripts l10n
Generate GraphQL code from the schema
$ dart run shakesco_scripts graphql
Clear all generated code
$ dart run shakesco_scripts --clear
2. Reusable Code #
You can reuse the following code in your project:
schema.graphql
- Copied to your project upon running the graphql codegen tool. This is the main schema file. DO NOT UPDATE OR DELETE!!!shakesco_analysis_options.yaml
- You can use this to have a predefined code formatting and linting rules in your projectgraphql_utils/shakesco_date_time_serializer.dart
- A custom serializer for DateTime objects when using the graphql codegen tool