This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -Version 5 | |
#Requires -PSEdition Desktop | |
# Gets information about the number of public types, and public and protected members. | |
[CmdletBinding(DefaultParameterSetName = 'Path')] | |
param ( | |
[Parameter(ParameterSetName = 'Path', Position = 0)] | |
[string[]] $Path, | |
[Parameter(ParameterSetName = 'LiteralPath', Mandatory = $true, ValueFromPipelineByPropertyName = $true)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory=$true)] | |
[string] $ServiceDirectory, | |
[Parameter(Mandatory=$true)] | |
[string] $ResourceProvider, | |
[Parameter(Mandatory=$true)] | |
[string] $SourceVersion, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding(DefaultParameterSetName = 'Repositories', SupportsShouldProcess = $true)] | |
param ( | |
[Parameter(Mandatory = $true, Position = 0)] | |
[int] $ProjectNumber, | |
[Parameter(Mandatory = $true, Position = 1)] | |
[string[]] $Labels, | |
[Parameter(ParameterSetName = 'Repositories')] | |
[Alias("repos")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CmdletBinding(DefaultParameterSetName = 'Path')] | |
param ( | |
[Parameter(ParameterSetName = 'Path', Position = 0, Mandatory = $true)] | |
[string[]] $Path, | |
[Parameter(ParameterSetName = 'LiteralPath', Mandatory = $true, ValueFromPipelineByPropertyName = $true)] | |
[Alias('PSPath')] | |
[string[]] $LiteralPath | |
) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::path::PathBuf; | |
use std::result::Result; | |
use std::{error::Error, ops::Index}; | |
use clap::{arg, command, value_parser, Arg}; | |
use msi::{self, Expr, Select, Value}; | |
fn main() -> Result<(), Box<dyn Error>> { | |
let matches = command!() | |
.arg( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"bytes" | |
"fmt" | |
"log" | |
"os" | |
"strings" | |
"text/template" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use clap::Parser; | |
use markdown::{tokenize, Block, Span}; | |
use serde::Deserialize; | |
use std::fs::File; | |
use std::io::Read; | |
use std::path::PathBuf; | |
fn main() { | |
let args = Args::parse(); | |
let mut f = File::open(args.file).expect("failed to open autorest config"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
azure-identity==1.12.0 | |
azure-ai-language-conversations==1.0.0 | |
azure-ai-language-questionanswering==1.1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//go:build windows | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"path/filepath" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//go:build windows | |
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"path/filepath" |