Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace Beamable.Editor.BeamCli.Commands
public partial class BeamBundleAclCommandOutput
{
public string name;
public string checksum;
public string scope;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ namespace Beamable.Editor.BeamCli.Commands
using Beamable.Common.BeamCli;

[System.SerializableAttribute()]
public partial class BeamBundleHistoryCommandOutput
public partial class BeamBundleReleaseInfo
{
public BeamBundleInfo[] history;
public long version;
public string checksum;
public long publishedAt;
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

namespace Beamable.Editor.BeamCli.Commands
{
using Beamable.Common;
using Beamable.Common.BeamCli;

[System.SerializableAttribute()]
public partial class BeamBundleReleasesCommandOutput
{
public BeamBundleReleaseInfo[] releases;
public Beamable.Common.BeamCli.Contracts.BundleTagInfo[] tags;
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

namespace Beamable.Editor.BeamCli.Commands
{
using Beamable.Common;
using Beamable.Common.BeamCli;

[System.SerializableAttribute()]
public partial class BeamBundleSummaryInfo
{
public string name;
public string acl;
public string ownerCid;
public string latestChecksum;
public long latestVersion;
public Beamable.Common.BeamCli.Contracts.BundleTagInfo[] tags;
public long updatedAt;
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ namespace Beamable.Editor.BeamCli.Commands

public partial class BundlesAclArgs : Beamable.Common.BeamCli.IBeamCommandArgs
{
/// <summary>The bundle reference: <bundle-name>, <bundle-name>@<tag>, or <bundle-name>@sha256:<checksum> (a name or tag resolves to its checksum; a bare name means @latest). Optionally namespaced as @<namespace>/<bundle-name></summary>
public string bundleRef;
/// <summary>Visibility tier to widen to (each tier is a superset of the previous, not a list of realms): 'realm' = only this realm; 'org' = every realm in your customer; 'public' = every realm in every customer. A literal <cid>.<pid> / <cid> / * is also accepted</summary>
/// <summary>The bundle to widen, optionally namespaced as @<namespace>/<bundle-name>. Visibility applies to the whole name, so no tag or checksum is accepted</summary>
public string bundleName;
/// <summary>Visibility tier to widen to (each tier is a superset of the previous, not a list of realms): 'realm' = only this realm; 'org' = every realm in your customer; 'public' = every realm in every customer. '*' is also accepted as an alias for 'public'</summary>
public string scope;
/// <summary>Serializes the arguments for command line usage.</summary>
public virtual string Serialize()
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
// Add the bundleRef value to the list of args.
genBeamCommandArgs.Add(this.bundleRef.ToString());
// Add the bundleName value to the list of args.
genBeamCommandArgs.Add(this.bundleName.ToString());
// If the scope value was not default, then add it to the list of args.
if ((this.scope != default(string)))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public partial class BundlesPublishArgs : Beamable.Common.BeamCli.IBeamCommandAr
public bool fromLatestPlan;
/// <summary>An additional tag to advance to the published checksum</summary>
public string tag;
/// <summary>Widen the published checksum's visibility tier (each tier is a superset of the previous, not a list of realms): 'realm' = only this realm; 'org' = every realm in your customer; 'public' = every realm in every customer. A literal <cid>.<pid> / <cid> / * is also accepted</summary>
/// <summary>Widen the bundle's visibility tier (each tier is a superset of the previous, not a list of realms): 'realm' = only this realm; 'org' = every realm in your customer; 'public' = every realm in every customer. '*' is also accepted as an alias for 'public'</summary>
public string scope;
/// <summary>Serializes the arguments for command line usage.</summary>
public virtual string Serialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,24 @@ namespace Beamable.Editor.BeamCli.Commands
using Beamable.Common;
using Beamable.Common.BeamCli;

public partial class BundlesHistoryArgs : Beamable.Common.BeamCli.IBeamCommandArgs
public partial class BundlesReleasesArgs : Beamable.Common.BeamCli.IBeamCommandArgs
{
/// <summary>The bundle name, optionally namespaced as @<namespace>/<bundle-name></summary>
public string bundleName;
/// <summary>Stop after this many releases, newest first. 0 (the default) walks the whole log</summary>
public int limit;
/// <summary>Serializes the arguments for command line usage.</summary>
public virtual string Serialize()
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
// Add the bundleName value to the list of args.
genBeamCommandArgs.Add(this.bundleName.ToString());
// If the limit value was not default, then add it to the list of args.
if ((this.limit != default(int)))
{
genBeamCommandArgs.Add(("--limit=" + this.limit));
}
string genBeamCommandStr = "";
// Join all the args with spaces
genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
Expand All @@ -23,30 +30,30 @@ public virtual string Serialize()
}
public partial class BeamCommands
{
public virtual BundlesHistoryWrapper BundlesHistory(BundlesHistoryArgs historyArgs)
public virtual BundlesReleasesWrapper BundlesReleases(BundlesReleasesArgs releasesArgs)
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
genBeamCommandArgs.Add("beam");
genBeamCommandArgs.Add(defaultBeamArgs.Serialize());
genBeamCommandArgs.Add("bundles");
genBeamCommandArgs.Add("history");
genBeamCommandArgs.Add(historyArgs.Serialize());
genBeamCommandArgs.Add("releases");
genBeamCommandArgs.Add(releasesArgs.Serialize());
// Create an instance of an IBeamCommand
Beamable.Common.BeamCli.IBeamCommand command = this._factory.Create();
// Join all the command paths and args into one string
string genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
// Configure the command with the command string
command.SetCommand(genBeamCommandStr);
BundlesHistoryWrapper genBeamCommandWrapper = new BundlesHistoryWrapper();
BundlesReleasesWrapper genBeamCommandWrapper = new BundlesReleasesWrapper();
genBeamCommandWrapper.Command = command;
// Return the command!
return genBeamCommandWrapper;
}
}
public partial class BundlesHistoryWrapper : Beamable.Common.BeamCli.BeamCommandWrapper
public partial class BundlesReleasesWrapper : Beamable.Common.BeamCli.BeamCommandWrapper
{
public virtual BundlesHistoryWrapper OnStreamBundleHistoryCommandOutput(System.Action<ReportDataPoint<BeamBundleHistoryCommandOutput>> cb)
public virtual BundlesReleasesWrapper OnStreamBundleReleasesCommandOutput(System.Action<ReportDataPoint<BeamBundleReleasesCommandOutput>> cb)
{
this.Command.On("stream", cb);
return this;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ public partial class BeamGetBundleCommandOutput
{
public BeamBundleInfo bundle;
public Beamable.Common.BeamCli.Contracts.BundleTagInfo[] tags;
public long version;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Beamable.Editor.BeamCli.Commands
[System.SerializableAttribute()]
public partial class BeamListBundlesCommandOutput
{
public BeamBundleInfo[] published;
public BeamBundleSummaryInfo[] published;
public BeamBundleInfo[] local;
}
}
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@

namespace Beamable.Editor.BeamCli.Commands
{
using Beamable.Common;
using Beamable.Common.BeamCli;
public partial class ProjectGeneratePropertiesArgs : Beamable.Common.BeamCli.IBeamCommandArgs
{
/// <summary>Where the file will be created</summary>
public string output;
/// <summary>Beam path to be used. Use BEAM_SOLUTION_DIR to template in $(SolutionDir)</summary>
public string beamPath;
namespace Beamable.Editor.BeamCli.Commands
{
using Beamable.Common;
using Beamable.Common.BeamCli;

public partial class ProjectGeneratePropertiesArgs : Beamable.Common.BeamCli.IBeamCommandArgs
{
/// <summary>Where the file will be created</summary>
public string output;
/// <summary>Beam path to be used. Use BEAM_SOLUTION_DIR to template in $(SolutionDir)</summary>
public string beamPath;
/// <summary>The solution path to be used.
///The following values have special meaning and are not treated as paths...
///- "DIR.PROPS" = $([System.IO.Path]::GetDirectoryName(`$(DirectoryBuildPropsPath)`)) </summary>
public string solutionDir;
/// <summary>A path relative to the given solution directory, that will be used to store the projects /bin and /obj directories. Note: the given path will have the project's assembly name and the bin or obj folder appended</summary>
public string buildDir;
/// <summary>Serializes the arguments for command line usage.</summary>
public virtual string Serialize()
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
// Add the output value to the list of args.
genBeamCommandArgs.Add(this.output.ToString());
// Add the beamPath value to the list of args.
genBeamCommandArgs.Add(this.beamPath.ToString());
// Add the solutionDir value to the list of args.
genBeamCommandArgs.Add(this.solutionDir.ToString());
// If the buildDir value was not default, then add it to the list of args.
if ((this.buildDir != default(string)))
{
genBeamCommandArgs.Add(("--build-dir=" + this.buildDir));
}
string genBeamCommandStr = "";
// Join all the args with spaces
genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
return genBeamCommandStr;
}
}
public partial class BeamCommands
{
public virtual ProjectGeneratePropertiesWrapper ProjectGenerateProperties(ProjectGeneratePropertiesArgs generatePropertiesArgs)
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
genBeamCommandArgs.Add("beam");
genBeamCommandArgs.Add(defaultBeamArgs.Serialize());
genBeamCommandArgs.Add("project");
genBeamCommandArgs.Add("generate-properties");
genBeamCommandArgs.Add(generatePropertiesArgs.Serialize());
// Create an instance of an IBeamCommand
Beamable.Common.BeamCli.IBeamCommand command = this._factory.Create();
// Join all the command paths and args into one string
string genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
// Configure the command with the command string
command.SetCommand(genBeamCommandStr);
ProjectGeneratePropertiesWrapper genBeamCommandWrapper = new ProjectGeneratePropertiesWrapper();
genBeamCommandWrapper.Command = command;
// Return the command!
return genBeamCommandWrapper;
}
}
public partial class ProjectGeneratePropertiesWrapper : Beamable.Common.BeamCli.BeamCommandWrapper
{
}
}
///- "DIR.PROPS" = $([System.IO.Path]::GetDirectoryName(`$(DirectoryBuildPropsPath)`)) </summary>
public string solutionDir;
/// <summary>A path relative to the given solution directory, that will be used to store the projects /bin and /obj directories. Note: the given path will have the project's assembly name and the bin or obj folder appended</summary>
public string buildDir;
/// <summary>Serializes the arguments for command line usage.</summary>
public virtual string Serialize()
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
// Add the output value to the list of args.
genBeamCommandArgs.Add(this.output.ToString());
// Add the beamPath value to the list of args.
genBeamCommandArgs.Add(this.beamPath.ToString());
// Add the solutionDir value to the list of args.
genBeamCommandArgs.Add(this.solutionDir.ToString());
// If the buildDir value was not default, then add it to the list of args.
if ((this.buildDir != default(string)))
{
genBeamCommandArgs.Add(("--build-dir=" + this.buildDir));
}
string genBeamCommandStr = "";
// Join all the args with spaces
genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
return genBeamCommandStr;
}
}
public partial class BeamCommands
{
public virtual ProjectGeneratePropertiesWrapper ProjectGenerateProperties(ProjectGeneratePropertiesArgs generatePropertiesArgs)
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
genBeamCommandArgs.Add("beam");
genBeamCommandArgs.Add(defaultBeamArgs.Serialize());
genBeamCommandArgs.Add("project");
genBeamCommandArgs.Add("generate-properties");
genBeamCommandArgs.Add(generatePropertiesArgs.Serialize());
// Create an instance of an IBeamCommand
Beamable.Common.BeamCli.IBeamCommand command = this._factory.Create();
// Join all the command paths and args into one string
string genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
// Configure the command with the command string
command.SetCommand(genBeamCommandStr);
ProjectGeneratePropertiesWrapper genBeamCommandWrapper = new ProjectGeneratePropertiesWrapper();
genBeamCommandWrapper.Command = command;
// Return the command!
return genBeamCommandWrapper;
}
}
public partial class ProjectGeneratePropertiesWrapper : Beamable.Common.BeamCli.BeamCommandWrapper
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public partial class BeamPublishBundleCommandOutput
public string name;
public string checksum;
public bool isNew;
public long version;
public BeamBundleDiffResult diff;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

namespace Beamable.Editor.BeamCli.Commands
{
using Beamable.Common;
using Beamable.Common.BeamCli;

public partial class UnityVerifyPackageMetasArgs : Beamable.Common.BeamCli.IBeamCommandArgs
{
/// <summary>the path to the Unity package folder to verify</summary>
public string packagePath;
/// <summary>Serializes the arguments for command line usage.</summary>
public virtual string Serialize()
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
// Add the packagePath value to the list of args.
genBeamCommandArgs.Add(this.packagePath.ToString());
string genBeamCommandStr = "";
// Join all the args with spaces
genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
return genBeamCommandStr;
}
}
public partial class BeamCommands
{
public virtual UnityVerifyPackageMetasWrapper UnityVerifyPackageMetas(UnityVerifyPackageMetasArgs verifyPackageMetasArgs)
{
// Create a list of arguments for the command
System.Collections.Generic.List<string> genBeamCommandArgs = new System.Collections.Generic.List<string>();
genBeamCommandArgs.Add("beam");
genBeamCommandArgs.Add(defaultBeamArgs.Serialize());
genBeamCommandArgs.Add("unity");
genBeamCommandArgs.Add("verify-package-metas");
genBeamCommandArgs.Add(verifyPackageMetasArgs.Serialize());
// Create an instance of an IBeamCommand
Beamable.Common.BeamCli.IBeamCommand command = this._factory.Create();
// Join all the command paths and args into one string
string genBeamCommandStr = string.Join(" ", genBeamCommandArgs);
// Configure the command with the command string
command.SetCommand(genBeamCommandStr);
UnityVerifyPackageMetasWrapper genBeamCommandWrapper = new UnityVerifyPackageMetasWrapper();
genBeamCommandWrapper.Command = command;
// Return the command!
return genBeamCommandWrapper;
}
}
public partial class UnityVerifyPackageMetasWrapper : Beamable.Common.BeamCli.BeamCommandWrapper
{
public virtual UnityVerifyPackageMetasWrapper OnStreamVerifyPackageMetasCommandOutput(System.Action<ReportDataPoint<BeamVerifyPackageMetasCommandOutput>> cb)
{
this.Command.On("stream", cb);
return this;
}
}
}
Loading
Loading