Yo-An Lin (林佑安) > VIM-Uploader-0.07 > VIM::Uploader

Download:
VIM-Uploader-0.07.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.07   Source  

NAME ^

VIM::Uploader - upload your vim script to vim.org

SYNOPSIS ^

    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;

DESCRIPTIONS ^

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

FUNCTIONS ^

upload_new( %args )

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

AUTHOR ^

Cornelius, <cornelius.howl at gmail.com>

BUGS ^

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.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc VIM::Uploader

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2009 Cornelius.

This program is released under the following license: MIT

syntax highlighting: