Skip to content

brevdev/nvcf

 
 

Repository files navigation

NVCF - NVIDIA Cloud Functions CLI

NVCF is a command-line interface (CLI) tool for managing and interacting with NVIDIA Cloud Functions. It provides a seamless way to create, deploy, invoke, and manage serverless functions on NVIDIA's cloud infrastructure.

Key Features

  • Function management (create, list, update, delete)
  • Function deployment and invocation
  • Asset management
  • Authentication handling
  • Queue management
  • Cluster group operations
  • Comprehensive error handling and logging
  • Multiple output formats (JSON, table)
  • Color-coded output for better readability

Installation

To install the NVCF CLI, you need to have Go installed on your system. Then, you can use the following command:

go install github.com/brevdev/nvcf@latest

Usage

After installation, you can use the nvcf command to interact with NVIDIA Cloud Functions. Here are some common usage examples:

# Authenticate with NVIDIA Cloud
nvcf auth login

# List all functions
nvcf function list

# Create a new function
nvcf function create --name my-function --inference-url https://example.com/function

# Invoke a function
nvcf invoke <function-id> --data '{"input": "Hello, World!"}'

# Get deployment details
nvcf deployment get <function-id> <version-id>

For a full list of commands and options, use the --help flag:

nvcf --help

Contributing

Contributions to the NVCF CLI are welcome. Please follow these steps to contribute:

  1. Fork the repository
  2. Create a new branch for your feature or bug fix
  3. Make your changes and commit them with clear, descriptive messages
  4. Push your changes to your fork
  5. Submit a pull request to the main repository

Please ensure your code adheres to the existing style and includes appropriate tests and documentation.

License

This project is licensed under the MIT License.

Badges

Go Report Card GoDoc

Support

For issues, feature requests, or questions, please open an issue on the GitHub repository.

For more information about NVIDIA Cloud Functions, visit the official documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published