(Translated by https://www.hiragana.jp/)
GitHub - rk0cc/oghref_cmd: Command line tools for reviewing parsed rich information link metadata and data exchanges
Skip to content

Command line tools for reviewing parsed rich information link metadata and data exchanges

License

Notifications You must be signed in to change notification settings

rk0cc/oghref_cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command line tools for reviewing parsed rich information link metadata and data exchanges

This package only serves as executable which offers as pub package and complied executable files sperately.

Setup

Download executable files

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

Using dart pub command

If Dart has been installed, it can be deployed by running this command:

dart pub global activate oghref_cmd

Edit pubspec.yaml

Please add oghref_cmd into dev_dependencies, NOT dependencies

dev_dependencies:
  oghref_cmd: # Copy version constraints from pub.dev

Build

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

Usages

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.

License

AGPL v3