RubyGems Navigation menu

switch-cli 0.0.8

Switch helps you add multiple languages to your site by leveraging the power of google spreadsheets. It is a commandline tool providing you with an easy way to automate the process and avoid common mistakes. The most common use case of switch is for switching between a locale representation in JSON/YAML to a CSV (spreadsheet) based one and vice-versa. # Install ``` gem install switch-cli ``` # Usage ``` switch json2csv [input-dir] [output-file] ``` Converts multiple json files to be a single csv file with columns for each file, with the file name as the column header. If you do not specify an input-dir it will be taken as ./locales and output-file would be the direcotry name + .csv. ``` switch csv2json [input-file] [output-dir] ``` Converts a single csv file into multiple json files, with a file for each column using the key and order columns to construct the files.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.8 - August 25, 2016 (8.0 KB)
  2. 0.0.7 - May 26, 2016 (8.0 KB)
  3. 0.0.5 - May 21, 2016 (8.0 KB)
  4. 0.0.3 - April 15, 2016 (8.0 KB)
  5. 0.0.2 - January 20, 2016 (8.0 KB)
显示所有版本 (共 8 个)

Runtime 依赖 (4):

deep_merge ~> 1.0
dotenv ~> 2.0
google_drive ~> 1.0
launchy ~> 2.4

Development 依赖 (2):

pry ~> 0.9.12
rspec ~> 3.4

业主:

作者:

  • Michael Yagudaev

SHA 256 校验和:

8d7ce4891d5f4fe2b6e8be8ebf70f8c5fb0fd834ffbc07d1f70d7a9877294f80

下载总量 13,535

这个版本 2,945

许可:

MIT

需要的 Ruby 版本: >= 0

链接: