npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

trans-cli-test

v6.0.2

Published

Command line to submit messages translation of Alicloud product to Globalization Team.

Downloads

8

Readme

trans-cli

This package is used to submit translations to gitlab.

Getting Started

###Install:

npm install -g trans-cli

OR

tnpm  install -g @ali/trans-cli

###Submit a file:

trans-cli submit (提交文件)

 所需要的参数:

 --file-path '文件路径,目前只支持js文件' 

 --repo-name 'gitlab下仓库名称'

 --submitter '执行人工号'

 --daily', '默认提交到正式环境,会走翻译流程,若指定 --daliy 参数,则提交到测试环境,不走翻译流程'

 --deadline  '翻译预期交付日期 例:2019-02-22 此参数非必写,可以选择'
	 
	 --git-pri-key  `加密之后的 Gitlab Private Token, 从 http://gitlab.alibaba-inc.com/profile/account获取Private Token后,
	 																											在https://kc.alibaba-inc.com/#/online/encode进行加密`
																												
	 --key-name `KeyCenter用于加密 gitPriKey的密钥名称,如没有需新建https://kc.alibaba-inc.com/#/key/create`																										

OR

trans-cli config (生成配置文件只需一次)

 所需要的参数:		

 --file-path '文件路径'		

 --repo-name 'gitlab下仓库名称'

 --submitter '执行人工号'
 
 --daily', '默认提交到正式环境,会走翻译流程,若指定 --daliy 参数,则提交到测试环境,不走翻译流程'
	 
	 --git-pri-key  `加密之后的 Gitlab Private Token, 从 http://gitlab.alibaba-inc.com/profile/account 获取Private Token后,
	 																										在https://kc.alibaba-inc.com/#/online/encode进行加密`
																											
	 --key-name `KeyCenter用于加密 gitPriKey的密钥名称,如没有需新建https://kc.alibaba-inc.com/#/key/create`

trans-cli submit

Delete redundant copy

**trans-cli clean**(删除美杜莎多余文案)

	 所需参数:
	 
	 --daily  '默认删除线上美杜莎应用多余文案,若指定 --daliy 参数,则只删除日常美杜莎应用文案'
	 
	 --submitter  '操作人工号,如 165739'
	 
   --repo-name `文案仓库名称(http://gitlab.alibaba-inc.com/groups/alicloud_t9n, 日常环境在 group alicloud_t9n_test 下 ),
	 																	若不存在,需要到 http://gs.aliyun-inc.com/#/dms/projectInitialization 初始化仓库 
	 																	(日常环境在 http://g.aliyun.test/#/dms/projectInitialization)`
																		
   --file-path  '全量中文文案路径,如 dev/zh-CN/messages.json,目前只支持json文件'
	 
   --git-pri-key  `加密之后的 Gitlab Private Token, 从 http://gitlab.alibaba-inc.com/profile/account 获取Private Token后,
	 																											在https://kc.alibaba-inc.com/#/online/encode进行加密`
	 --key-name `KeyCenter用于加密 gitPriKey的密钥名称,如没有需新建https://kc.alibaba-inc.com/#/key/create`

	  

OR

 **trans-cli config** (生成配置文件只需一次)

   所需要的参数:		

   --file-path '文件路径'		

   --repo-name 'gitlab下仓库名称'

   --submitter '执行人工号'
   
   --daily', '默认提交到正式环境,会走翻译流程,若指定 --daliy 参数,则提交到测试环境,不走翻译流程'
	 
	 --git-pri-key  `加密之后的 Gitlab Private Token, 从 http://gitlab.alibaba-inc.com/profile/account 获取Private Token后,
	 																										在https://kc.alibaba-inc.com/#/online/encode进行加密`
																											
	 --key-name `KeyCenter用于加密 gitPriKey的密钥名称,如没有需新建https://kc.alibaba-inc.com/#/key/create`


 **trans-cli clean**