VIM::Uploader - upload your vim script to vim.org
use VIM::Uploader; my $uploader = VIM::Uploader->new(); $uploader->login( )
or
$uploader->login( user => 'xxx', pass => 'xxx', ); $uploader->upload_new( ... ); my $ok = $uploader->upload( script_id => 1234, script_file => '/path/to/your/file', vim_version => '7.0', # valid values: 7.0 , 6.0 , 5.7 script_version => '0.2', # your vim script version version_comment => 'release note' # your vim script release note. ); print "DONE" if $ok;
VIM::Uploader provides vim-upload script for you to upload vim scripts. it creates a upload form template for you.
# in /path/to/script.vim/ directory $ vim-upload script.vim $ vim-upload script-2.04.tar.gz
then the file script.vim.upload will be created after the first upload. just edit the file , update script_id and the next time you can upload script easily.
$ vim-upload script.vim
script_name
script_file
script_type: 'color scheme' , 'ftplugin' , 'game' , 'indent' , 'syntax' , 'utility' , 'patch'
vim_version: 5.7 , 6.0 , 7.0 , 7.2
script_version:
summary
description
install_details
Cornelius, <cornelius.howl at gmail.com>
<cornelius.howl at gmail.com>
Please report any bugs or feature requests to bug-vim-uploader at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=VIM-Uploader. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-vim-uploader at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc VIM::Uploader
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=VIM-Uploader
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/VIM-Uploader
CPAN Ratings
http://cpanratings.perl.org/d/VIM-Uploader
Search CPAN
http://search.cpan.org/dist/VIM-Uploader/
Copyright 2009 Cornelius.
This program is released under the following license: MIT
To install VIM::Uploader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VIM::Uploader
CPAN shell
perl -MCPAN -e shell install VIM::Uploader
For more information on module installation, please visit the detailed CPAN module installation guide.