From c0bf58894ccb342feb3a2789211026f9700388bf Mon Sep 17 00:00:00 2001 From: regiostech Date: Tue, 5 Jul 2016 17:19:02 -0400 Subject: [PATCH] It begins! --- .gitignore | 74 ++++++++++++++++++++++++++++++++++++++++++++++ .idea/vcs.xml | 6 ++++ LICENSE | 21 +++++++++++++ bin/angel.dart | 7 +++++ lib/angel_cli.dart | 4 +++ lib/src/args.dart | 6 ++++ pubspec.yaml | 11 +++++++ 7 files changed, 129 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/vcs.xml create mode 100644 LICENSE create mode 100644 bin/angel.dart create mode 100644 lib/angel_cli.dart create mode 100644 lib/src/args.dart create mode 100644 pubspec.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa6ea1d --- /dev/null +++ b/.gitignore @@ -0,0 +1,74 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/workspace.xml +.idea/tasks.xml +.idea/dictionaries +.idea/vcs.xml +.idea/jsLibraryMappings.xml + +# Sensitive or high-churn files: +.idea/dataSources.ids +.idea/dataSources.xml +.idea/dataSources.local.xml +.idea/sqlDataSources.xml +.idea/dynamic.xml +.idea/uiDesigner.xml + +# Gradle: +.idea/gradle.xml +.idea/libraries + +# Mongo Explorer plugin: +.idea/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties +### Dart template +# See https://www.dartlang.org/tools/private-files.html + +# Files and directories created by pub +.buildlog +.packages +.project +.pub/ +build/ +**/packages/ + +# Files created by dart2js +# (Most Dart developers will use pub build to compile Dart, use/modify these +# rules if you intend to use dart2js directly +# Convention is to use extension '.dart.js' for Dart compiled to Javascript to +# differentiate from explicit Javascript files) +*.dart.js +*.part.js +*.js.deps +*.js.map +*.info.json + +# Directory created by dartdoc +doc/api/ + +# Don't commit pubspec lock file +# (Library packages only! Remove pattern if developing an application package) +pubspec.lock diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..63b4b68 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [year] [fullname] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/bin/angel.dart b/bin/angel.dart new file mode 100644 index 0000000..2379afa --- /dev/null +++ b/bin/angel.dart @@ -0,0 +1,7 @@ +library angel_cli.tool; + +import 'package:angel_cli/angel_cli.dart'; + +main(List args) { + var parser = makeParser(); +} \ No newline at end of file diff --git a/lib/angel_cli.dart b/lib/angel_cli.dart new file mode 100644 index 0000000..af96721 --- /dev/null +++ b/lib/angel_cli.dart @@ -0,0 +1,4 @@ +library angel_cli; + +import 'package:args/args.dart'; +part 'src/args.dart'; \ No newline at end of file diff --git a/lib/src/args.dart b/lib/src/args.dart new file mode 100644 index 0000000..b8ac148 --- /dev/null +++ b/lib/src/args.dart @@ -0,0 +1,6 @@ +part of angel_cli; + +ArgParser makeParser() { + var result = new ArgParser(allowTrailingOptions: true); + return result; +} \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 0000000..eac413f --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,11 @@ +name: angel_cli +version: 1.0.0-dev +description: Command-line tools for the Angel framework. +author: Tobe O +homepage: https://github.com/angel-dart/angel_cli +dependencies: + args: ">=0.3.4 <1.0.0" + colorize: ">=0.1.2 <1.0.0" + console: ">=2.2.3 <3.0.0" + mustache4dart: ">=1.0.0 <3.0.0" + yaml: ">=2.0.0 <3.0.0" \ No newline at end of file