dshell 1.1.2-dev-5 copy "dshell: ^1.1.2-dev-5" to clipboard
dshell: ^1.1.2-dev-5 copied to clipboard

discontinuedreplaced by: dcli
outdated

An API and dev environment for writing console apps/scripts using dart. e.g. allows you to build bash style scripts with dart.

1.1.2-dev-5 #

formatting. [ENH] dshell doctor now dumps .dshell/dependencies.yaml and can dump the details of a script. release notes for ### 1.1.2-dev.4

1.1.2-dev.4 #

removed unused import. [ENH] completed work on a release script. [FIX] workingDirectory was not being passed down. released 1.1.2-dev.4 [FIX] set version has to regenerate a new immutable pubspec which it did but then failed to assign it. released 1.1.2-dev.2 script to add a local dshell override. formatting [ENH] changed pipeTo to pipe both stdout and stderr to the next process. fixed minor typo. Added logic to sett the Settings() scriptPath on start. [FIX] Ask with the hidden option now checks if a terminal is present and if not doesn't try to use the hidden feature. [ENH] improved performance of dshell clean by suppressing the compile executaable option which was re-compiling dshell each time. Moved start logic into Run class. [ENH] activate local now assumes it is run from the tools directory and goes looking for the correct dshell path. removed unused import. [ENH moved the start logic into the Run class and change the default operation of start so that it ouputs the process writes unless the process is started detached. [ENH] add property to return the scripts path. [FIX] dependencies don't recognize ~ so changed to full path. Renamed line to value to better reflect its contents. Moved process related methods into own class. [FIX] change

1.1.2-dev.1 #

Fix for NPE in doctor when username env variable not available. Added verbose logging to Process.start.

1.1.1 #

Added support for .zshrc Added PID class to help get parent pid and shell names. Not certain this is the right structure. Now have a dshell script that can sucessfully run the unit tests. Removed data of a private nature from dshell doctor output. Added new method lastLine on string as process. Exposed DartSDK class. Some fixes for shell detection.

1.1.1-dev.1 #

Fix for #45

1.1.0 #

Added support for PUB_CACHE environment var. Added dart:io to default script we create. Added check on install to ensure user isn't running as root. Core unit tests will now succeed in a single pass.

1.1.0-dev.3 #

Fixed a bug where find didn't find a match on a simple file name.

1.1.0-dev.2 #

Added a check if .bashrc exists and create it if it doesn't. Clean up on the help output. Improved create error message. Added --noclean flag to install. Mad stat method a global function. Added notes on performance. Documente envionment variables.

1.1.0-dev.1 #

Implemented dshell doctor to dump out system config to help with diagnosing issues.

Continuing work on getting docker contains configured to run test units.

Added support for a new symlink function.

Removed support for CD/Push/Pop as they just encourange bad practices and 'join' does a better job.

1.0.45 #

Enhancements to ask. Now has option 'hidden' for password entry. Added method 'confirm' to accept yes/no answers.

Started work on docker containers for unit testing.

1.0.44 #

Fixed .run yet again. Added unit tests for same.

1.0.43 #

Fixed an NPE on start of a script with no args caused by the change to the command parser.

1.0.42 #

Improved the command line parser for string_as_process so we cam handle arguments with spaces.

1.0.41 #

Fixed a bug in run. We were printing the output rather than adding it to the foreach. .start can now capture command not found errors for detached processes. Added unit tests for .start

1.0.40 #

Fixed a bug where .run wasn't writing output to the console. Introduced a new method printerr which prints to stderr.

1.0.39 #

Added the 'start' method to string_as_process to allow a detached process to be created. e.g. 'longrunning.sh'.start(detached: true); The dshell create command now enforces a .dart extension on the script name.

1.0.38 #

Implemented the 'run' method on the Pipe class so that ('ls' | 'head -n 5').run works. Completed work on moving the script install option from the install command to the compile command.

1.0.37 #

dshell tab completion is now installed.

1.0.36 #

Fixed a bug in the pubspec pointing to the wrong completion name.

1.0.35 #

Updated to pubspec 0.1.3 Compiles to native should now work.

1.0.34 #

Added support of dependency_overrides in dependency.yaml and pubspec annotations. Improved support for windows and mac. Exposed additional help env methods PATH and HOME. Initial work on command line completion for dshell.

1.0.32 #

updated to latest verson of recase.

1.0.31 #

Fixed the pubspec package dependancy problem.

1.0.30 #

Numerous dsort bug fixeds. Fixed a bug with dshell incorrectly changing the working directory when a script is launched.

1.0.29 #

Fixed bug where dsort was dependant on internal dshell classes.

1.0.28 #

Change install so that it runs a cleanall so that dshell scripts use the latest version of dshell.

1.0.27 #

Improvements to dsort usage message and fixed a startup bug.

1.0.26 #

Looks like we still can't determine dshell version from the installed files.

1.0.25 #

Added dsort example which implements a merge sort.

1.0.24 #

Updated notes on creating your first script and modify dshell create to facilitate the doco. More advanced examples will be introduced via templates.

1.0.23 #

Fixed a couple of major bugs in the create and run commands. The create use an incorrect relative path to dshell. The run command was using an incorrect package-root path. I think this was an misunderstanding of the 2.7 changes. Updates to readme on how dependencies are managed.

1.0.22 #

Hide some additional path functions, tweak the why dshell readme.

1.0.21 #

Fixed links in toc. Cleanup of examples to bring them in line with public api.

1.0.20 #

Reduced the current api to what is actually supported.

1.0.19 #

refactored directories to move most libraries into lib/src to remove them from the public api.

1.0.18 #

Fixed some formatting issues and upgraded to logger 0.8.0

1.0.17 #

Update the getting started instructions to include install and create commands.

1.0.15 #

Tweeks to keep dart packager happy

1.0.14 #

Fixes for dshell create - now sets execute permissions. Implemented basic dshell install. Improvements to dependancy injection. Additional testing required. We need (in theory) support dependency.yaml in the .dshell directory. Documenation improvements.

1.0.13 #

And now actually removed the do not use warning.

1.0.12 #

Removed the do not use warnings and cleaned up some lint warnings.

1.0.11 #

Oh lots of changes. Usage now outputs useful information if you get a command wrong. Added an ansi-color library to allow output to have colors and use it in usage. Added an option to allow progressive output when running a command. Implemented additional commands. dshell compile

28
likes
0
pub points
11%
popularity

Publisher

verified publishernoojee.org

An API and dev environment for writing console apps/scripts using dart. e.g. allows you to build bash style scripts with dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, collection, equatable, file, file_utils, intl, logger, money2, path, pub_semver, pubspec, recase, yaml

More

Packages that depend on dshell