Skip to content

Conversation

@hamed-musallam
Copy link
Collaborator

@hamed-musallam hamed-musallam commented Jan 19, 2024

  • migrate to TypeScript
  • refactor parse spectra file
  • resurrect spectrum from publication string

How to use the Command Line

Usage: nmr-cli  <command> [options]

Commands:
  parse-spectra  or ps               Parse a spectra file to NMRium file
  parse-publication-string or pps     resurrect spectrum from the publication string 

Options for 'parse-spectra' command:
  -u, --url           File URL
  -p, --path          Directory path
  -s, --capture-snapshot   Capture snapshot

Arguments for 'parse-publication-string' command:
  publicationString   Publication string

Examples:
  nmr-cli  parse-spectra -u file-url -s                                   // Process spectra files from a URL and capture an image for the spectra
  nmr-cli  parse-spectra -p directory-path -s                             // process a spectra files from a directory and capture an image for the spectra
  nmr-cli  parse-spectra -u file-url                                      // Process spectra files from a URL 
  nmr-cli  parse-spectra -p directory-path                                // Process spectra files from a directory 
  nmr-cli  parse-publication-string "your publication string"

@CS76 are you ok with the commands names parse-spectra or ps parse-publication-string or pps?

refactor: migrate to TypeScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants