This package only serves as executable which offers as pub package and complied executable files sperately.
Warning
It only provides under AMD64 CPU architecture and Apple Silicon (since 0.1.1
) only, for those who uses other Dart supported CPU architecture, please consider compile yourself.
Please download latest version from releases
If Dart has been installed, it can be deployed by running this command:
dart pub global activate oghref_cmd
Please add oghref_cmd
into dev_dependencies
, NOT dependencies
dev_dependencies:
oghref_cmd: # Copy version constraints from pub.dev
Please get Dart SDK first and execute this commands below:
# Assume Dart binaries is defined into PATH
git clone --depth 1 --branch release https://github.com/rk0cc/oghref_cmd.git
mkdir dist
dart pub get
dart compile exe bin/oghref_cmd.dart -o dist/oghref_cmd
Usage: oghref_cmd <command> [arguments]
Global options:
-h, --help Print this usage information.
Available commands:
info Get metadata information found in given URL
json Export fetched content in JSON format
media Print media informations of given URL
version Get version of oghref_cmd.
For each command's usages, please type:
oghref_cmd <command name> -h
or visit readme page in example.
AGPL v3