Skip to content

olydis/autorest-extension-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoRest Extension Base

Allows to easily create an AutoRest extension. See https://github.com/olydis/autorest-extension-helloworld for an example of how to reference and use this package. We recommend using that as a starting point.

Usage

import { AutoRestExtension } from "autorest-extension-base";

const extension = new AutoRestExtension();

extension.Add("plugin-name", async autoRestApi => {
  // plugin implementation
  // Available functions:
  // * Information retrieval:
  //       autoRestApi.ListInputs
  //       autoRestApi.ReadFile
  //       autoRestApi.GetValue
  // * Information submission:
  //       autoRestApi.WriteFile
  //       autoRestApi.Message
});

extension.Run();

About

Library for easily creating AutoRest extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages