dast
Version, currently 0.1.02 versions
- 0.2.0latestJul 24, 2018
- 0.1.0not indexedJul 24, 2018
github.com/at-grandpa/dast.cr
CLI tool to display the date list.
Nothing has been indexed for 0.1.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
dast:
github: at-grandpa/dast.cr
version: ~> 0.1.0Then run:
shards installshard.yml
No shard.yml has been indexed for 0.1.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
dast
CLI tool to display the date list.
Installation
homebrew
$ brew update
$ brew install crystal-lang
$ brew tap at-grandpa/homebrew-dast.cr
$ brew install dast.cr
git clone
$ brew update
$ brew install crystal-lang
$ git clone https://github.com/at-grandpa/dast.cr.git
$ cd dast.cr
$ make install
Usage
If no arguments, display last 1 week.
$ dast
'2018-03-15','2018-03-16', ... (last 1 week)
If one date, display from specified date to now.
$ dast 2018-03-10
'2018-03-10','2018-03-11', ... '2018-03-21' (today)
- date format:
%Y-%m-%dor%Y/%m/%dor%Y-%m-%d %H:%M:%S
If one diff format, display from applied diff date to now.
$ dast ~3day
'2018-03-18','2018-03-19','2018-03-20','2018-03-21' (today)
- The minus sign is specified with
~. - diff format:
/(|+|~)\d+(year|y|month|mon|day|d||hour|h|minute|min|m|second|sec|s)?/
If two date, display from date1 to date2.
$ dast 2018-03-25 2018-03-27
'2018-03-25','2018-03-26','2018-03-27'
If date and diff format, display from applied diff date to the date.
$ dast 2018-03-27 ~3day
'2018-03-24','2018-03-25','2018-03-26','2018-03-27'
Interval, Format, Delimiter, Quote.
$ dast '2018-03-21 12:00:00' 1h --interval=20min --format='%Y-%m-%d %H:%M:%S' --delimiter=' | ' --quote='"'
"2018-03-21 12:00:00" | "2018-03-21 12:20:00" | "2018-03-21 12:40:00" | "2018-03-21 13:00:00"
Development
crystal spec
Contributing
- Fork it ( https://github.com/at-grandpa/dast.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- at-grandpa at-grandpa - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Jul 24, 2018
- Commit
c62a5e4ccd34- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/at-grandpa/dast.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 2