TASKPM/scripts/rest-clients/base64.sh
Fernando Bellas Permuy e4d9fa0e01 ItEr40S20CUImportacionRecursosProductivosItEr39S23: "scripts/rest-clients" folder has been created with initial scripts for REST clients.
The new foler includes a README file (please, update it when adding new scripts), common scripts (base64.sh and rest-common-env.sh), two scripts (post-criterions-types.sh and get-criterion-types.sh) for importing/exporting criterion types, and a sample file (criterion-types-sample.xml) with criterion types to be imported.
2009-12-23 13:53:13 +01:00

4 lines
70 B
Bash
Executable file

#!/usr/bin/ruby
require 'base64'
puts Base64.encode64("#{ARGV[0]}");